Table of Contents

Class XenDesktopAdministratorAssignment

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual XenDesktop administrator assignments where an administrator is assigned with rights to an object such as a hypervisor connection.

public class XenDesktopAdministratorAssignment : GlobalSerializableClassicBase, IComparable<XenDesktopAdministratorAssignment>
Inheritance
XenDesktopAdministratorAssignment
Implements

Constructors

XenDesktopAdministratorAssignment()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopAdministratorAssignment class.

public XenDesktopAdministratorAssignment()

Properties

CollectionIndex

Gets or sets the index for this assignment used by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

Enabled

Gets or sets whether the administrator is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the administrator - for example "CORP\Administrator".

public string Name { get; set; }

Property Value

string

RoleId

Gets or sets the unique identifier of the role in GUID format.

public string RoleId { get; set; }

Property Value

string

RoleName

Gets or sets the name of the role - for example "Full Administrator".

public string RoleName { get; set; }

Property Value

string

Methods

CompareTo(XenDesktopAdministratorAssignment)

Compares two XenDesktop administrator assignments to allow sorting alphabetically by name and role.

public int CompareTo(XenDesktopAdministratorAssignment other)

Parameters

other XenDesktopAdministratorAssignment

The XenDesktop administrator assignment to compare to.

Returns

int

The sort order of the two items.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.XenDesktopAdministratorAssignment class from the specified XML.

public static XenDesktopAdministratorAssignment FromXml(string Xml)

Parameters

Xml string

The XML representation of the object.

Returns

XenDesktopAdministratorAssignment

A CENTREL.XIA.Configuration.Types.XenDesktopAdministratorAssignment class.

ToString()

Returns the name of the administrator and role - for example "CORP\Administrator [Full Administrator]".

public override string ToString()

Returns

string

The name of the administrator and role - for example "CORP\Administrator [Full Administrator]".