Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The OpenRoleDefinition method opens an IAzRoleDefinition object with the specified name.
Syntax
HRESULT OpenRoleDefinition(
[in] BSTR bstrRoleDefinitionName,
[out] IAzRoleDefinition **ppRoleDefinitions
);
Parameters
[in] bstrRoleDefinitionName
A string that contains the name of the IAzRoleDefinition object to open.
[out] ppRoleDefinitions
The address of a pointer to the IAzRoleDefinition object that this method opens.
When you have finished using this IAzRoleDefinition object, release it by calling the IUnknown::Release method.
Return value
If the method succeeds, the method returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | azroles.h |
DLL | Azroles.dll |