MzRoleAssignment

Represents a computer-level role assignment.

Syntax

public interface IMzRoleAssignment : IRoleAssignment

Methods

The MzRoleAssignment 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.)

GetComputer

Returns the computer for which the role assignment is made.

GetTrustee

Returns the trustee being assigned.

(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.)

SetCustomAttribute

VBScript interface to set the custom attributes for this class.

(Inherited from RoleAssignment.)

Validate

Validates the role assignment.

(Inherited from RoleAssignment.)

Properties

The MzRoleAssignment class provides the following properties:

This property Does this

CustomAttributes

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

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 or sets the local trustee being assigned.

(Inherited from RoleAssignment.)

Role

Gets or sets the role the trustee is assigned to.

(Inherited from RoleAssignment.)

StartTime

Gets or sets the time from which this role becomes effective.

(Inherited from RoleAssignment.)

TrusteeDn

Gets or sets the distinguished name of the trustee assigned this role.

(Inherited from RoleAssignment.)

TrusteeType

Gets or sets the trustee type of the role assignment.

(Inherited from RoleAssignment.)