Table of Contents

Class VMwarePermission

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

Represents an individual permission assigned to a VMware object.

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

Constructors

VMwarePermission()

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

public VMwarePermission()

Properties

DisplayValue

Gets the permission as a human readable string - for example "CORP\Administator [READ-ONLY]", used by the data comparer.

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

Property Value

string

IsPropagated

Gets or sets whether the permission is propagated to child objects.

public BooleanOption IsPropagated { get; set; }

Property Value

BooleanOption

Key

Gets the unique key for this permission, used by the data comparer.

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

Property Value

string

Principal

Gets or sets the principal name to which this permission is assigned - for example "DomainA\UserB".

public string Principal { get; set; }

Property Value

string

RoleName

Gets or sets the name of the role to which this permission is assigned - for example "READ-ONLY".

public string RoleName { get; set; }

Property Value

string

SourceName

Gets or sets the name of the object at which this permission is assigned - for example "Datacenters".

public string SourceName { get; set; }

Property Value

string

Methods

CompareTo(VMwarePermission)

Compares two VMware permissions to allow sorting alphabetically by principal name.

public int CompareTo(VMwarePermission other)

Parameters

other VMwarePermission

Returns

int

ToString()

Returns this permission as a human readable string - for example "CORP\Administator [READ-ONLY]".

public override string ToString()

Returns

string

This permission as a human readable string.