IAzRole::GetProperty method (azroles.h)

The GetProperty method returns the IAzRole 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 IAzRole object property to return. The following table shows the possible values.

Value Meaning
AZ_PROP_APPLICATION_DATA
Also accessed through the ApplicationData property
AZ_PROP_CHILD_CREATE
Determines whether the current user has permission to create child objects. This value will always be FALSE because this object cannot have child objects.
AZ_PROP_DESCRIPTION
Also accessed through the Description property
AZ_PROP_NAME
Also accessed through the Name property
AZ_PROP_ROLE_APP_MEMBERS
Also accessed through the AppMembers property
AZ_PROP_ROLE_MEMBERS
Also accessed through the Members property
AZ_PROP_ROLE_MEMBERS_NAME
Also accessed through the MembersName property
AZ_PROP_ROLE_OPERATIONS
Also accessed through the Operations property
AZ_PROP_ROLE_TASKS
Also accessed through the Tasks property
AZ_PROP_WRITABLE
Also accessed through the Writable property

[in, optional] varReserved

Reserved for future use.

[out] pvarProp

A pointer to the returned IAzRole object property.

Return value

The return value is an HRESULT. A value of S_OK indicates success. Any other 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