IAzApplication::GetProperty method (azroles.h)

The GetProperty method returns the IAzApplication object property with the specified property ID.

Syntax

HRESULT GetProperty(
  [in]           LONG    lPropId,
  [in, optional] VARIANT varReserved,
  [out]          VARIANT *pvarProp
);

Parameters

[in] lPropId

Property ID of the IAzApplication object property to return. The following table shows the possible values.

Value Meaning
AZ_PROP_APPLICATION_AUTHZ_INTERFACE_CLSID
Also accessed through the AuthzInterfaceClsid property
AZ_PROP_APPLICATION_DATA
Also accessed through the ApplicationData property
AZ_PROP_APPLICATION_VERSION
Also accessed through the Version property
AZ_PROP_APPLY_STORE_SACL
Also accessed through the ApplyStoreSacl property
AZ_PROP_CHILD_CREATE
Determines whether the current user has permission to create child objects. This value is TRUE if the current user has permission; otherwise, FALSE.
AZ_PROP_DELEGATED_POLICY_USERS
Also accessed through the DelegatedPolicyUsers property
AZ_PROP_DELEGATED_POLICY_USERS_NAME
Also accessed through the DelegatedPolicyUsersName property
AZ_PROP_DESCRIPTION
Also accessed through the Description property
AZ_PROP_GENERATE_AUDITS
Also accessed through the GenerateAudits property
AZ_PROP_NAME
Also accessed through the Name property
AZ_PROP_POLICY_ADMINS
Also accessed through the PolicyAdministrators property
AZ_PROP_POLICY_ADMINS_NAME
Also accessed through the PolicyAdministratorsName property
AZ_PROP_POLICY_READERS
Also accessed through the PolicyReaders property
AZ_PROP_POLICY_READERS_NAME
Also accessed through the PolicyReadersName property
AZ_PROP_WRITABLE
Also accessed through the Writable property

[in, optional] varReserved

Reserved for future use.

[out] pvarProp

A pointer to the returned IAzApplication object property.

Return value

If the method succeeds, the method returns S_OK.

Any other HRESULT value indicates that the operation failed.

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