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 AddPropertyItem method adds the specified entity to the specified list.
Syntax
HRESULT AddPropertyItem(
[in] LONG lPropId,
VARIANT varProp,
[in, optional] VARIANT varReserved
);
Parameters
[in] lPropId
Property ID of the list to which to add the entity specified by the varProp parameter.
The following table shows the possible values:
Value | Meaning |
---|---|
AZ_PROP_GROUP_APP_MEMBERS |
Can also be added using the AddAppMember method. |
AZ_PROP_GROUP_APP_NON_MEMBERS |
Can also be added using the AddAppNonMember method. |
AZ_PROP_GROUP_MEMBERS |
Can also be added using the AddMember method. |
AZ_PROP_GROUP_MEMBERS_NAME |
Can also be added using the AddMemberName method. |
AZ_PROP_GROUP_NON_MEMBERS |
Can also be added using the AddNonMember method. |
AZ_PROP_GROUP_NON_MEMBERS_NAME |
Can also be added using the AddNonMemberName method. |
varProp
TBD
[in, optional] varReserved
Reserved for future use.
Return value
If the method succeeds, it will return S_OK
. Any other HRESULT value indicates that the operation failed.
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 2003 [desktop apps only] |
Target Platform | Windows |
Header | azroles.h |
Library | Azroles.lib |
DLL | Azroles.dll |
Redistributable | Windows Server 2003 Administration Tools Pack on Windows XP |