SetCustomAttribute

Sets the custom attribute for this computer role.

Syntax

void SetCustomAttribute(string name, string value)

Parameters

Specify the following parameters when using this method:

Parameter Description

name

The name of the custom attribute.

value

The value of the custom attribute

Return value

The collection of computer roles. Enumerate this object to get all of the IRoleAssignment objects for this computer role that represent users (IRoleAssignment.TrusteeType==User).