HzRoleAssignment

Represents a zone-level role assignment.

Syntax

public interface IRoleAssignment

Methods

The HzRoleAssignment class provides the following methods:

This method Does this

ClearCustomAttributes

VBScript interface to clear the custom attributes for this class.

Inherited from (RoleAssignment.)

Commit

Commits changes in the role assignment to Active Directory.

Inherited from (RoleAssignment.)

Delete

Deletes the role.

Inherited from (RoleAssignment.)

ICustomAttributeContainer GetCustomAttributeContainer

.NET interface that returns the directory entry for the parent container object for the custom attributes for this class.

Inherited from (RoleAssignment.)

GetTrustee

Returns the trustee being assigned.

Inherited from (RoleAssignment.)

SetCustomAttribute

VBScript interface to set the custom attributes for this class.

Inherited from (RoleAssignment.)

Validate

Validates the role assignment.

Inherited from (RoleAssignment.)

Properties

The HzRoleAssignment class provides the following properties:

This property Does this

CustomAttributes

VBScript only: Gets or sets custom attributes for this class.

Inherited from (RoleAssignment.)

EndTime

Determines the time at which this role becomes inactive.

Inherited from (RoleAssignment.)

Id

Gets the GUID of the role assignment.

Inherited from (RoleAssignment.)

IsRoleOrphaned

Indicates whether the role assignment is orphaned due to a missing or invalid role.

Inherited from (RoleAssignment.)

IsTrusteeOrphaned

Indicates whether the role assignment is orphaned due to a missing or invalid trustee.

Inherited from (RoleAssignment.)

LocalTrustee

Gets the local trustee being assigned.

Inherited from (RoleAssignment.)

Role

Gets the role the trustee is assigned to.

Inherited from (RoleAssignment.)

StartTime

Specifies the time from which this role becomes effective.

Inherited from (RoleAssignment.)

TrusteeDn

Gets the distinguished name of the trustee assigned this role.

Inherited from (RoleAssignment.)

TrusteeType

Gets the trustee type of the role assignment.

Inherited from (RoleAssignment.)

Zone

Gets the zone in which the role assignment is made.