TokenPrivilegeEntry Class

Represents a privilege entry in an access token.

public sealed class TokenPrivilegeEntry

Remarks

This class contains information about a privilege held by an access token, including the privilege name and its current state (enabled, disabled, etc.).

Properties

NameDescription
AttributesGets the attributes of the privilege.
NameGets the name of the privilege (e.g., "SeDebugPrivilege").

Gets the attributes of the privilege.

public PrivilegeAttribute Attributes { get; }

Property value

PrivilegeAttribute A combination of PrivilegeAttribute flags indicating the privilege's state.

Gets the name of the privilege (e.g., "SeDebugPrivilege").

public string Name { get; }

Property value

string

Methods

NameDescription
ToString()Returns a string representation of the privilege entry.

Returns a string representation of the privilege entry.

public override string ToString()

Returns

string