Table of Contents

Class WindowsUserRights

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

Represents a collection of user rights assignment configured on a Windows machine.

public class WindowsUserRights : BypassSection
Inheritance
WindowsUserRights
Inherited Members

Constructors

WindowsUserRights()

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

public WindowsUserRights()

Properties

Items

Gets or sets the items within the collection.

public WindowsUserRightCollection Items { get; set; }

Property Value

WindowsUserRightCollection

Methods

Exists(string)

Determines if the user right with the specified name exists in the collection.

public bool Exists(string name)

Parameters

name string

The name of the user right to locate - for example "SeAuditPrivilege".

Returns

bool

A System.Boolean value that indicates whether the user right exists in the collection.

FindByName(string)

Returns the user right with the specified name or null if no user right with that name exists.

public WindowsUserRight FindByName(string name)

Parameters

name string

The name of the user right to locate - for example "SeAuditPrivilege".

Returns

WindowsUserRight

The CENTREL.XIA.Configuration.Types.WindowsUserRight with the specified name, or null if no item with that name exists.

FromXml(string)

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

public static WindowsUserRights FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsUserRights

A CENTREL.XIA.Configuration.Types.WindowsUserRights class.

ToString()

Returns the Windows user rights as a human readable string - for example "12 Windows User Rights" or "{Not Documented}".

public override string ToString()

Returns

string

The Windows user rights as a human readable string.