RoleAssignment

This class represents a zone-level role assignment.

Syntax

public interface IRoleAssignment

Methods

The RoleAssignment class provides the following methods:

Method Description
ClearCustomAttributes VBScript interface to clear the custom attributes for this class.
Commit Commits changes in the role assignment to Active Directory.
Delete Deletes the role assignment.
ICustomAttributeContainer GetCustomAttributeContainer .NET interface that returns the directory entry for the parent container object for the custom attributes for this class.
GetTrustee Returns the trustee being assigned.
SetCustomAttribute VBScript interface to set the custom attributes for this class.
Validate Validates the role assignment

Properties

The RoleAssignment class provides the following properties:

Property Description
CustomAttributes VBScript only: Gets or sets custom attributes for this class.
EndTime Determines the time at which this role assignment becomes inactive.
Id Gets the GUID of the role assignment.
IsRoleOrphaned Indicates whether the role assignment is orphaned due to a missing or invalid role.
IsTrusteeOrphaned Indicates whether the role assignment is orphaned due to a missing or invalid trustee.
LocalTrustee Gets or sets the local trustee being assigned.
Role Gets or sets the role the trustee is assigned to.
StartTime Gets or sets the time from which this role assignment becomes effective.
TrusteeDn Gets or sets the distinguished name of the trustee assigned this role.
`TrusteeType Gets or sets the trustee type of the role assignment.