Class UnixLocalUser
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a single local user found on a Unix machine.
public class UnixLocalUser : GlobalSerializableClassicBase, IComparable<UnixLocalUser>
- Inheritance
-
UnixLocalUser
- Implements
Constructors
UnixLocalUser()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixLocalUser class.
public UnixLocalUser()
Properties
Description
Gets or sets the description of this user account.
public string Description { get; set; }
Property Value
GroupId
Gets or sets the unique identifier of the primary group for this user.
public int GroupId { get; set; }
Property Value
HomeDirectory
Gets or sets the path to the user's home directory.
public string HomeDirectory { get; set; }
Property Value
StartupApplication
Gets or sets the application that is started every time the user logs onto the system.
public string StartupApplication { get; set; }
Property Value
UserId
Gets or sets the unique identifier for this user account.
public int UserId { get; set; }
Property Value
Username
Gets or sets the username of the local user - for example "root".
public string Username { get; set; }
Property Value
Methods
CompareTo(UnixLocalUser)
Compares two CENTREL.XIA.Configuration.Types.UnixLocalUser objects to allow alphabetical sorting.
public int CompareTo(UnixLocalUser other)
Parameters
other
UnixLocalUserThe CENTREL.XIA.Configuration.Types.UnixLocalUser to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.UnixLocalUser.
ToString()
Returns the user as a human readable string - for example "Root (0)".
public override string ToString()
Returns
- string
The user as a human readable string.