Skip to content

Latest commit

 

History

History
149 lines (124 loc) · 6.07 KB

nf-azroles-iazapplication-deletepropertyitem.md

File metadata and controls

149 lines (124 loc) · 6.07 KB
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.DeletePropertyItem
IAzApplication::DeletePropertyItem (azroles.h)
Removes the specified principal from the specified list of principals. (IAzApplication.DeletePropertyItem)
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
AzApplication object [Security]
DeletePropertyItem method
DeletePropertyItem
DeletePropertyItem method [Security]
DeletePropertyItem method [Security]
AzApplication object
DeletePropertyItem method [Security]
IAzApplication interface
IAzApplication interface [Security]
DeletePropertyItem method
IAzApplication.DeletePropertyItem
IAzApplication::DeletePropertyItem
azroles/IAzApplication::DeletePropertyItem
security.iazapplication_deletepropertyitem
security\iazapplication_deletepropertyitem.htm
security
d7303b03-3b32-407c-a50f-8803b2871a66
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, AzApplication object [Security],DeletePropertyItem method, DeletePropertyItem, DeletePropertyItem method [Security], DeletePropertyItem method [Security],AzApplication object, DeletePropertyItem method [Security],IAzApplication interface, IAzApplication interface [Security],DeletePropertyItem method, IAzApplication.DeletePropertyItem, IAzApplication::DeletePropertyItem, azroles/IAzApplication::DeletePropertyItem, security.iazapplication_deletepropertyitem
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
IAzApplication::DeletePropertyItem
azroles/IAzApplication::DeletePropertyItem
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzApplication.DeletePropertyItem
AzApplication.DeletePropertyItem

IAzApplication::DeletePropertyItem

-description

The DeletePropertyItem method removes the specified principal from the specified list of principals.

-parameters

-param lPropId [in]

Property ID of the list of principals from which to remove the principal specified by the varProp parameter. The following table shows the possible values.

Value Meaning
AZ_PROP_POLICY_ADMINS
Can also be removed using the DeletePolicyAdministrator method
AZ_PROP_POLICY_ADMINS_NAME
Can also be removed using the DeletePolicyAdministratorName method
AZ_PROP_POLICY_READERS
Can also be removed using the DeletePolicyReader method
AZ_PROP_POLICY_READERS_NAME
Can also be removed using the DeletePolicyReaderName method
AZ_PROP_DELEGATED_POLICY_USERS
Can also be removed using the DeleteDelegatedPolicyUser method
AZ_PROP_DELEGATED_POLICY_USERS_NAME
Can also be removed using the DeleteDelegatedPolicyUserName method

-param varProp [in]

Principal to remove from the list of principals specified by the lPropId parameter.

The variant must be a BSTR variant.

If AZ_PROP_POLICY_ADMINS, AZ_PROP_POLICY_READERS, or AZ_PROP_DELEGATED_POLICY_USERS is specified for the lPropId parameter, the string is the text form of the security identifier (SID) of the Windows account to remove from the list. 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 remove from the list. The account name can be in either user principal name (UPN) format (for example, "someone@example.com") or in the format of "ExampleDomain\UserName".

-param varReserved [in, optional]

Reserved for future use.

-returns

If the method succeeds, the method returns 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.