Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
Security Structures
 SECURITY_SUBJECT_CONTEXT

  Switch on low bandwidth view
Windows Driver Kit: Installable File System Drivers
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

Headers: Declared in 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 feedback on this topic
Built on May 20, 2009
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker