Export (0) Print
Expand All

IAzApplication interface

The IAzApplication interface defines an installed instance of an application. An IAzApplication object is created when an application is installed.

Members

The IAzApplication interface inherits from the IDispatch interface. IAzApplication also has these types of members:

Methods

The IAzApplication interface has these methods.

MethodDescription
AddDelegatedPolicyUser

Adds the specified SID in text form to the list of principals that act as delegated policy users.

AddDelegatedPolicyUserName

Adds the specified account name to the list of principals that act as delegated policy users.

AddPolicyAdministrator

Adds the specified security identifier (SID) in text form to the list of principals that act as policy administrators.

AddPolicyAdministratorName

Adds the specified account name to the list of principals that act as policy administrators.

AddPolicyReader

Adds the specified SID in text form to the list of principals that act as policy readers.

AddPolicyReaderName

Adds the specified account name to the list of principals that act as policy readers.

AddPropertyItem

Adds the specified principal to the specified list of principals.

CreateApplicationGroup

Creates an IAzApplicationGroup object with the specified name.

CreateOperation

Creates an IAzOperation object with the specified name.

CreateRole

Creates an IAzRole object with the specified name.

CreateScope

Creates an IAzScope object with the specified name.

CreateTask

Creates an IAzTask object with the specified name.

DeleteApplicationGroup

Removes the IAzApplicationGroup object with the specified name from the IAzApplication object.

DeleteDelegatedPolicyUser

Removes the specified SID in text form from the list of principals that act as delegated policy users.

DeleteDelegatedPolicyUserName

Removes the specified account name from the list of principals that act as delegated policy users.

DeleteOperation

Removes the IAzOperation object with the specified name from the IAzApplication object.

DeletePolicyAdministrator

Removes the specified SID in text form from the list of principals that act as policy administrators.

DeletePolicyAdministratorName

Removes the specified account name from the list of principals that act as policy administrators.

DeletePolicyReader

Removes the specified SID in text form from the list of principals that act as policy readers.

DeletePolicyReaderName

Removes the specified account name from the list of principals that act as policy readers.

DeletePropertyItem

Removes the specified principal from the specified list of principals.

DeleteRole

Removes the IAzRole object with the specified name from the IAzApplication object.

DeleteScope

Removes the IAzScope object with the specified name from the IAzApplication object.

DeleteTask

Removes the IAzTask object with the specified name from the IAzApplication object.

GetProperty

Returns the IAzApplication object property with the specified property ID.

InitializeClientContextFromName

Gets an IAzClientContext object pointer from the client identity as a (domain name, client name) pair.

InitializeClientContextFromStringSid

Gets an IAzClientContext object pointer from the specified SID in text form.

InitializeClientContextFromToken

Gets an IAzClientContext object pointer from the specified client token.

OpenApplicationGroup

Opens an IAzApplicationGroup object with the specified name.

OpenOperation

Opens an IAzOperation object with the specified name.

OpenRole

Opens an IAzRole object with the specified name.

OpenScope

Opens an IAzScope object with the specified name.

OpenTask

Opens an IAzTask object with the specified name.

SetProperty

Sets the specified value to the IAzApplication object property with the specified property ID.

Submit

Persists changes made to the IAzApplication object.

 

Properties

The IAzApplication interface has these properties.

PropertyAccess typeDescription

ApplicationData

Read/write

Sets or retrieves an opaque field that can be used by the application to store information.

ApplicationGroups

Read-only

Retrieves an IAzApplicationGroups object that is used to enumerate groups from the policy data.

ApplyStoreSacl

Read/write

Sets or retrieves a value that indicates whether policy audits should be generated when the authorization store is modified.

AuthzInterfaceClsid

Read/write

Sets or retrieves the class identifier of the interface that the user interface uses to perform application-specific operations.

DelegatedPolicyUsers

Read-only

Retrieves the SIDs (in text form) of principals that act as delegated policy users.

DelegatedPolicyUsersName

Read-only

Retrieves the account names of principals that act as delegated policy users.

Description

Read/write

Sets or retrieves a comment that describes the application.

GenerateAudits

Read/write

Sets or retrieves a value that indicates whether run-time audits should be generated.

Name

Read/write

Sets or retrieves the name of the application.

Operations

Read-only

Retrieves an IAzOperations object that is used to enumerate operations from the policy data.

PolicyAdministrators

Read-only

Retrieves the SIDs (in text form) of principals that act as policy administrators.

PolicyAdministratorsName

Read-only

Retrieves the account names of principals that act as policy administrators.

PolicyReaders

Read-only

Retrieves the SIDs (in text form) of principals that act as policy readers.

PolicyReadersName

Read-only

Retrieves the account names of principals that act as policy readers.

Roles

Read-only

Retrieves an IAzRoles object that is used to enumerate roles from the policy data.

Scopes

Read-only

Retrieves an IAzScopes object that is used to enumerate scopes from the policy data.

Tasks

Read-only

Retrieves an IAzTasks object that is used to enumerate tasks from the policy data.

Version

Read/write

Sets or retrieves the version of the application.

Writable

Read-only

Retrieves a value that indicates whether the application can be modified by the user context that initialized it.

 

Remarks

The IAzApplication object is a container in which all authorization policies that apply to an instance of an application reside.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Azroles.h

Library

Azroles.lib

DLL

Azroles.dll

IID

IID_IAzApplication is defined as 987BC7C7-B813-4D27-BEDE-6BA5AE867E95

See also

Allowing Anonymous Access

 

 

Community Additions

ADD
Show:
© 2014 Microsoft