Class XenDesktopAdministratorRight
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop administrator right.
public class XenDesktopAdministratorRight : GlobalSerializableClassicBase, IComparable<XenDesktopAdministratorRight>
- Inheritance
-
XenDesktopAdministratorRight
- Implements
Constructors
XenDesktopAdministratorRight()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRight class.
public XenDesktopAdministratorRight()
Properties
CollectionDisplayField
Gets the display identifier of this right used by the data comparer.
[Browsable(false)]
public string CollectionDisplayField { get; }
Property Value
CollectionIndex
Gets the unique identifier of this right used by the data comparer.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
RoleId
Gets or sets the GUID of the role assigned to this right.
public string RoleId { get; set; }
Property Value
RoleName
Gets or sets the name of the role – for example "Full Administrator".
public string RoleName { get; set; }
Property Value
ScopeId
Gets or sets the GUID of the scope assigned to this right.
public string ScopeId { get; set; }
Property Value
ScopeName
Gets or sets the name of the scope to which this right is assigned.
public string ScopeName { get; set; }
Property Value
Methods
CompareTo(XenDesktopAdministratorRight)
Compares two XenDesktop administrator rights to allow sorting alphabetically by scope and role name.
public int CompareTo(XenDesktopAdministratorRight other)
Parameters
otherXenDesktopAdministratorRightThe XenDesktop administrator to compare to.
Returns
- int
The sort order of the two items.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRight class from the specified XML.
public static XenDesktopAdministratorRight FromXml(string Xml)
Parameters
XmlstringThe XML representation of the object.
Returns
- XenDesktopAdministratorRight
A CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRight class.
ToString()
Returns the right as a human readable string in the format "Scope Name (Role Name)".
public override string ToString()
Returns
- string
The right as a human readable string in the format "Scope Name (Role Name)".