IAzRole

IAzRole interface

The IAzRole interface defines the set of operations that can be performed by a set of users within a scope.

Members

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

Methods

The IAzRole interface has these methods.

MethodDescription
AddAppMember

Adds the specified IAzApplicationGroup object to the list of application groups that belong to this role.

AddMember

Adds the specified security identifier (SID) in text form to the list of Windows accounts that belong to the role.

AddMemberName

Adds the specified account name to the list of accounts that belong to the role.

AddOperation

Adds the IAzOperation object with the specified name to the role.

AddPropertyItem

Adds the specified entity to the specified list.

AddTask

Adds the IAzTask object with the specified name to the role.

DeleteAppMember

Removes the specified IAzApplicationGroup object from the list of application groups that belong to the role.

DeleteMember

Removes the specified SID in text form from the list of Windows accounts that belong to the role.

DeleteMemberName

Removes the specified account name from the list of accounts that belong to the role.

DeleteOperation

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

DeletePropertyItem

Removes the specified entity from the specified list.

DeleteTask

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

GetProperty

Returns the IAzRole object property with the specified property ID.

SetProperty

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

Submit

Persists changes made to the IAzRole object.

 

Properties

The IAzRole 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.

AppMembers

Read-only

Retrieves the application groups that belong to the role.

Description

Read/write

Sets or retrieves a comment that describes the role.

Members

Read-only

Retrieves the text form of the SIDs of Windows accounts that belong to the role.

MembersName

Read-only

Retrieves the account names of accounts that belong to the role.

Name

Read/write

Sets or retrieves the name of the role.

Operations

Read-only

Retrieves the operations associated with the role.

Tasks

Read-only

Retrieves the tasks associated with the role.

Writable

Read-only

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

 

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_IAzRole is defined as 859e0d8d-62d7-41d8-a034-c0cd5d43fdfa

 

 

Community Additions

ADD
Show:
© 2016 Microsoft