Class LinuxUdsPeerIdentity
Represents identity of the peer interacting via Unix Domain Socket on Linux.
Inherited Members
Namespace: DotNext.Security.Principal
Assembly: DotNext.MaintenanceServices.dll
Syntax
[CLSCompliant(false)]
public sealed record LinuxUdsPeerIdentity : IIdentity, IEquatable<LinuxUdsPeerIdentity>
Remarks
This class is supported on Linux systems only.
Properties
| Edit this page View SourceDisplayName
Gets user information, if available.
Declaration
public string? DisplayName { get; }
Property Value
Type | Description |
---|---|
string |
GroupId
Gets group ID of the process identified by ProcessId.
Declaration
public uint GroupId { get; }
Property Value
Type | Description |
---|---|
uint |
IsAuthenticated
Gets a value that indicates whether the user has been authenticated.
Declaration
public bool IsAuthenticated { get; init; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets the name of the current user.
Declaration
public string? Name { get; }
Property Value
Type | Description |
---|---|
string | The name of the user on whose behalf the code is running. |
ProcessId
Gets calling process ID.
Declaration
public uint ProcessId { get; }
Property Value
Type | Description |
---|---|
uint |
UserId
Gets user ID of the process identified by ProcessId.
Declaration
public uint UserId { get; }
Property Value
Type | Description |
---|---|
uint |