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 AddRoleDefinition method adds the specified IAzRoleDefinition object to this IAzRoleDefinition object.
Syntax
HRESULT AddRoleDefinition(
[in] BSTR bstrRoleDefinition
);
Parameters
[in] bstrRoleDefinition
The name of the IAzRoleDefinition to add.
Return value
If the method succeeds, the method returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
You must call the Submit method to persist any changes made by this method.
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 |