Table of Contents

Class VMwareRole

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

Represents a single system or user defined authorisation roles on a VMware ESX Server or vCenter Server.

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

Constructors

VMwareRole()

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

public VMwareRole()

Properties

Description

Gets or sets the description of this role - for example "Full access rights".

public string Description { get; set; }

Property Value

string

ID

Gets or sets the ID of this role - certain roles have a predefined role ID - for example "-1".

public int ID { get; set; }

Property Value

int

Name

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

public string Name { get; set; }

Property Value

string

Privileges

Gets or sets the list of the names of the privileges that are assigned to this role - for example "Datastore > Rename datastore".

public SerializableStringCollection Privileges { get; set; }

Property Value

SerializableStringCollection

Methods

CompareTo(VMwareRole)

Compares two CENTREL.XIA.Configuration.Types.VMwareRole objects to allow sorting alphabetically by role name.

public int CompareTo(VMwareRole other)

Parameters

other VMwareRole

The CENTREL.XIA.Configuration.Types.VMwareRole object to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.VMwareRole objects.