Table of Contents

Class UnixLocalGroups

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

Represents the local groups found on a Unix system.

public class UnixLocalGroups : BaseTypeSection
Inheritance
UnixLocalGroups

Constructors

UnixLocalGroups()

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

public UnixLocalGroups()

Properties

Items

Gets or sets the items within the collection

public UnixLocalGroupCollection Items { get; set; }

Property Value

UnixLocalGroupCollection

Methods

FindByName(string)

Returns the Unix local group with the specified name.

public UnixLocalGroup FindByName(string name)

Parameters

name string

The name of the group - for example "root".

Returns

UnixLocalGroup

The Unix local group the specified name, or null if no group with that name is found.

FromXml(string)

Returns the CENTREL.XIA.Configuration.Types.UnixLocalGroups from the specified XML data.

public static UnixLocalGroups FromXml(string xml)

Parameters

xml string

The XML representation of the Unix local groups.

Returns

UnixLocalGroups

A CENTREL.XIA.Configuration.Types.UnixLocalGroups from the specified XML.

ToString()

Returns the local groups as a human readable string - for example "10 Local Groups".

public override string ToString()

Returns

string

The local groups as a human readable string.