Esempio n. 1
0
 internal static extern bool AuthzGetInformationFromContext(
     SafeAuthZClientContextHandle hAuthzClientContext,
     AUTHZ_CONTEXT_INFORMATION_CLASS InfoClass,
     int BufferSize,
     out int pSizeRequired,
     SafeBuffer Buffer
     );
Esempio n. 2
0
 internal static extern bool AuthzInitializeContextFromAuthzContext(
     int Flags,
     SafeAuthZClientContextHandle hAuthzClientContext,
     LargeInteger pExpirationTime,
     Luid Identifier,
     IntPtr DynamicGroupArgs,
     out SafeAuthZClientContextHandle phNewAuthzClientContext
     );
Esempio n. 3
0
 internal static extern bool AuthzInitializeContextFromToken(
     int Flags,
     SafeKernelObjectHandle TokenHandle,
     SafeAuthZResourceManagerHandle hAuthzResourceManager,
     LargeInteger pExpirationTime,
     Luid Identifier,
     IntPtr DynamicGroupArgs,
     out SafeAuthZClientContextHandle phAuthzClientContext
     );
Esempio n. 4
0
 internal static extern bool AuthzInitializeContextFromSid(
     AuthZContextInitializeSidFlags Flags,
     SafeSidBufferHandle UserSid,
     SafeAuthZResourceManagerHandle hAuthzResourceManager,
     LargeInteger pExpirationTime,
     Luid Identifier,
     IntPtr DynamicGroupArgs,
     out SafeAuthZClientContextHandle phAuthzClientContext
     );
Esempio n. 5
0
 internal static extern bool AuthzAccessCheck(
     AuthZAccessCheckFlags Flags,
     SafeAuthZClientContextHandle hAuthzClientContext,
     ref AUTHZ_ACCESS_REQUEST pRequest,
     IntPtr hAuditEvent,
     SafeBuffer pSecurityDescriptor,
     IntPtr[] OptionalSecurityDescriptorArray,
     int OptionalSecurityDescriptorCount,
     ref AUTHZ_ACCESS_REPLY pReply,
     IntPtr phAccessCheckResults
     );
Esempio n. 6
0
 internal static extern bool AuthzModifySids(
     SafeAuthZClientContextHandle hAuthzClientContext,
     AUTHZ_CONTEXT_INFORMATION_CLASS SidClass,
     AuthZSidOperation[] pSidOperations,
     SafeTokenGroupsBuffer pSids
     );
Esempio n. 7
0
 internal static extern bool AuthzSetAppContainerInformation(
     SafeAuthZClientContextHandle hAuthzClientContext,
     SafeSidBufferHandle pAppContainerSid,
     int CapabilityCount,
     SafeBuffer pCapabilitySids
     );
Esempio n. 8
0
 private AuthZContext(SafeAuthZClientContextHandle handle)
 {
     _handle = handle;
 }
Esempio n. 9
0
 private AuthZContext(SafeAuthZClientContextHandle handle, bool remote)
 {
     _handle = handle;
     Remote  = remote;
 }