UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:azroles.IAzApplication.AddPropertyItem |
IAzApplication::AddPropertyItem (azroles.h) |
Adds the specified principal to the specified list of principals. (IAzApplication.AddPropertyItem) |
|
security\iazapplication_addpropertyitem.htm |
security |
183fcf59-94c1-4359-b3de-285ff6b085a6 |
12/05/2018 |
AZ_PROP_DELEGATED_POLICY_USERS, AZ_PROP_DELEGATED_POLICY_USERS_NAME, AZ_PROP_POLICY_ADMINS, AZ_PROP_POLICY_ADMINS_NAME, AZ_PROP_POLICY_READERS, AZ_PROP_POLICY_READERS_NAME, AddPropertyItem, AddPropertyItem method [Security], AddPropertyItem method [Security],AzApplication object, AddPropertyItem method [Security],IAzApplication interface, AzApplication object [Security],AddPropertyItem method, IAzApplication interface [Security],AddPropertyItem method, IAzApplication.AddPropertyItem, IAzApplication::AddPropertyItem, azroles/IAzApplication::AddPropertyItem, security.iazapplication_addpropertyitem |
azroles.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Azroles.lib |
Azroles.dll |
Windows |
Windows Server 2003 Administration Tools Pack on Windows XP |
19H1 |
|
|
|
|
|
|
The AddPropertyItem method adds the specified principal to the specified list of principals.
Property ID of the list of principals to which to add the principal specified by the varProp parameter. The following table shows the possible values.
Value | Meaning |
---|---|
|
Can also be added using the AddPolicyAdministrator method |
|
Can also be added using the AddPolicyAdministratorName method |
|
Can also be added using the AddPolicyReader method |
|
Can also be added using the AddPolicyReaderName method |
|
Can also be added using the AddDelegatedPolicyUser method |
|
Can also be added using the AddDelegatedPolicyUserName method |
Principal to add to the list of principals specified by the lPropId parameter.
The variant must be a BSTR variant.
If AZ_PROP_POLICY_ADMINS_NAME, AZ_PROP_POLICY_READERS_NAME, or AZ_PROP_DELEGATED_POLICY_USERS_NAME is specified for the lPropId parameter, the string is the account name of the account to add to the list. The account name must be in user principal name (UPN) format (for example, "someone@example.com").
Reserved for future use.
If the method succeeds, the method returns S_OK.
Any other HRESULT value indicates that the operation failed.
You must call the Submit method to persist any changes made by this method.