SECURITY_SUBJECT_CONTEXT

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.

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

Requirements

Header

Ntifs.h (include Ntifs.h)

See also

ACCESS_STATE
FsRtlNotifyFullChangeDirectory
SeAccessCheck
SeAssignSecurity
SeAssignSecurityEx
SeAuditingFileOrGlobalEvents
SeCaptureSubjectContext
SeCreateClientSecurityFromSubjectContext
SECURITY_IMPERSONATION_LEVEL
SeFilterToken
SeLockSubjectContext
SePrivilegeCheck
SeQuerySubjectContextToken
SeReleaseSubjectContext
SeUnlockSubjectContext

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft