Class XenDesktopAdministrator
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop administrator.
public class XenDesktopAdministrator : GlobalSerializableClassicBase, IComparable<XenDesktopAdministrator>
- Inheritance
-
XenDesktopAdministrator
- Implements
Constructors
XenDesktopAdministrator()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopAdministrator class.
public XenDesktopAdministrator()
Properties
AccountStatusString
Gets or sets the status of the administrator as a human readable string.
public string AccountStatusString { get; set; }
Property Value
Enabled
Gets or sets whether the administrator is enabled.
public BooleanOption Enabled { get; set; }
Property Value
Name
Gets or sets the name of the administrator - for example "CORP\Administrator".
public string Name { get; set; }
Property Value
Rights
Gets or sets the rights assigned to this administrator.
public XenDesktopAdministratorRightCollection Rights { get; set; }
Property Value
SID
Gets or sets the SID of the user account in SDDL format - for example "S-1-5-21-1119390013-2107715993-1139858522-500".
public string SID { get; set; }
Property Value
Methods
CompareTo(XenDesktopAdministrator)
Compares two XenDesktop administrators to allow sorting alphabetically by name.
public int CompareTo(XenDesktopAdministrator other)
Parameters
other
XenDesktopAdministratorThe XenDesktop administrator to compare to.
Returns
- int
The sort order of the two items.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopAdministrator class from the specified XML.
public static XenDesktopAdministrator FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopAdministrator
A CENTREL.XIA.Configuration.Types.XenDesktopAdministrator class.
ToString()
Returns the name of the administrator - for example "CORP\Administrator".
public override string ToString()
Returns
- string
The name of the administrator - for example "CORP\Administrator".