Export (0) Print
Expand All

IAzClientContext interface

The IAzClientContext interface maintains the state that describes a particular client.

Members

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

Methods

The IAzClientContext interface has these methods.

MethodDescription
AccessCheck

Determines whether the current client context is allowed to perform the specified operations.

GetBusinessRuleString

Returns the application-specific string for the business rule (BizRule).

GetProperty

Returns the IAzClientContext object property with the specified property ID.

GetRoles

Returns the roles for the client context.

 

Properties

The IAzClientContext interface has these properties.

PropertyAccess typeDescription

RoleForAccessCheck

Read/write

Sets or retrieves the role that is used to perform the access check.

UserCanonical

Read-only

Retrieves the name of the current client in canonical format.

UserDisplay

Read-only

Retrieves the name of the current client in user display name format.

UserDn

Read-only

Retrieves the name of the current client in distinguished name (DN) format.

UserDnsSamCompat

Read-only

Retrieves the name of the current client in a DNS format compatible with Windows Security Account Manager (SAM).

UserGuid

Read-only

Retrieves the name of the current client in GUID format.

UserSamCompat

Read-only

Retrieves the name of the current client in a format compatible with SAM.

UserUpn

Read-only

Retrieves the name of the current client in user principal name (UPN) format.

 

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_IAzClientContext is defined as eff1f00b-488a-466d-afd9-a401c5f9eef5

 

 

Community Additions

ADD
Show:
© 2014 Microsoft