AddRoleAssignment

Adds an empty role assignment to the computer.

Syntax

IRoleAssignment AddRoleAssignment()

Return value

An empty role assignment object. This role assignment is not stored in Active Directory until you call the RoleAssignment:[Commit](../computerrole/commit.md) method.