SECURITY_SUBJECT_CONTEXT structure

The SECURITY_SUBJECT_CONTEXT structure is used to capture subject security context for access validation and auditing.

Drivers are not to modify the SECURITY_SUBJECT_CONTEXT structure directly. To create and manipulate this structure, use the support routines listed in the See Also section.

SECURITY_SUBJECT_CONTEXT

Syntax

typedef struct _SECURITY_SUBJECT_CONTEXT {
  PACCESS_TOKEN                ClientToken;
  SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
  PACCESS_TOKEN                PrimaryToken;
  PVOID                        ProcessAuditId;
} SECURITY_SUBJECT_CONTEXT, *PSECURITY_SUBJECT_CONTEXT;

Members

ClientToken

ImpersonationLevel

PrimaryToken

ProcessAuditId

Requirements

   
Header wdm.h (include Wdm.h)

See also

ACCESS_STATE

FsRtlNotifyFullChangeDirectory

SECURITY_IMPERSONATION_LEVEL

SeAccessCheck

SeAssignSecurity

SeAssignSecurityEx

SeAuditingFileOrGlobalEvents

SeCaptureSubjectContext

SeCreateClientSecurityFromSubjectContext

SeFilterToken

SeLockSubjectContext

SePrivilegeCheck

SeQuerySubjectContextToken

SeReleaseSubjectContext

SeUnlockSubjectContext