Click or drag to resize
Xcalibur Systems LLC Logo

Xcalibur.NativeMethods.V2.Security Namespace

A collection of native models that correspond with their C++ counterparts for usage in .Net.
Classes
 ClassDescription
Public classPrivileges Privileges determine the type of system operations that a user account can perform. An administrator assigns privileges to user and group accounts. Each user's privileges include those granted to the user and to the groups to which the user belongs.

Privilege Constants

Public classSecurityHelper Win32 API Helper: Security.
Structures
 StructureDescription
Public structureIoCounters Contains I/O accounting information for a process or a job object. For a job object, the counters include all operations performed by all processes that have ever been associated with the job, in addition to all processes currently associated with the job.

IO_COUNTERS structure

Public structureLuid An LUID is a 64-bit value guaranteed to be unique only on the system on which it was generated. The uniqueness of a locally unique identifier (LUID) is guaranteed only until the system is restarted. Applications must use functions and structures to manipulate LUID values.

LUID structure

Public structureLuidAndAttributes The LUID_AND_ATTRIBUTES structure represents a locally unique identifier () and its attributes.

LUID_AND_ATTRIBUTES structure

Public structureSecurityAttributes The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.

SECURITY_ATTRIBUTES structure

Public structureSidAndAttributes The SID_AND_ATTRIBUTES structure represents a security identifier (SID) and its attributes. SIDs are used to uniquely identify users or groups.

SID_AND_ATTRIBUTES enumeration

Public structureTokenGroups The TOKEN_GROUPS structure contains information about the group security identifiers (SIDs) in an access token.

TOKEN_GROUPS structure

Public structureTokenPrivileges The TOKEN_PRIVILEGES structure contains information about a set of privileges for an access token.

TOKEN_PRIVILEGES structure

Public structureTokenUser The TOKEN_USER structure identifies the user associated with an access token.

TOKEN_USER structure

Enumerations
 EnumerationDescription
Public enumerationSecurityImpersonationLevel The SECURITY_IMPERSONATION_LEVEL enumeration contains values that specify security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.

SECURITY_IMPERSONATION_LEVEL enumeration

Public enumerationSidGroupTypes SID group types.

TOKEN_GROUPS structure

Public enumerationStandardAccessRights Each type of securable object has a set of access rights that correspond to operations specific to that type of object. In addition to these object-specific access rights, there is a set of standard access rights that correspond to operations common to most types of securable objects.

Standard Access Rights

Public enumerationTokenAccess An application cannot change the access control list of an object unless the application has the rights to do so. These rights are controlled by a security descriptor in the access token for the object. For more information about security, see Access Control Model.

Access Rights for Access-Token Objects

Public enumerationTokenInformationClass The enumeration contains values that specify the type of information being assigned to or retrieved from an access token.

TOKEN_INFORMATION_CLASS enumeration

Public enumerationTokenPrivilegeFlags 
Public enumerationTokenType The TOKEN_TYPE enumeration contains values that differentiate between a primary token and an impersonation token.

TOKEN_TYPE enumeration