TrusteeType
Gets or sets the trustee type of the role assignment.
Syntax
TrusteeType TrusteeType {get; set;}
Property value
The type of trustee.
Possible values:
public enum TrusteeType
{
// Unknown
Unknown = 0,
// AD User
User = 1,
// AD group
Group = 2,
// Local UNIX user
LocalUser = 4,
// Local UNIX group
LocalGroup = 8,
// All AD Users
AllADUsers = 16,
// All local UNIX accounts
AllUnixUser = 32
// Local Windows user
LocalWindowsUser = 64
// Local Windows group
LocalWindowsGroup = 128
// All local Windows users
AllWindowsUsers = 256
};
Exceptions
TrusteeType
throws an ArgumentException
if you try to set the trustee type to
any value other than AllADUsers
or AllUnixUser
.