MzRoleAssignment

Represents a computer-level role assignment.

Syntax

public interface IMzRoleAssignment : IRoleAssignment

Methods

The MzRoleAssignment class provides the following methods:

Method Description
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'](../roleassignment/index.md).) | | [GetComputer](getcomputer.md) | Returns the computer for which the role assignment is made. | | [GetTrustee](../roleassignment/gettrustee.md) | Returns the trustee being assigned. (Inherited from [RoleAssignment](../roleassignment/index.md).) | |ICustomAttributeContainer[GetCustomAttributeContainer](../computerrole/getcustomattributecontainer.md) | .NET interface that returns the directory entry for the parent container object for the custom attributes for this class. (Inherited from [RoleAssignment.](../roleassignment/index.md)) | | [SetCustomAttribute](../computerrole/setcustomattribute.md) | VBScript interface to set the custom attributes for this class. (Inherited from [RoleAssignment](../roleassignment/index.md).) | | [ValidateRoleAssignment'](../roleassignment/index.md).) | | [0RoleAssignment`.)

Properties

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