AuthzInitializeCompoundContext function

The AuthzInitializeCompoundContext function creates a user-mode context from the given user and device security contexts.

Syntax

AUTHZAPI BOOL AuthzInitializeCompoundContext(
  AUTHZ_CLIENT_CONTEXT_HANDLE  UserContext,
  AUTHZ_CLIENT_CONTEXT_HANDLE  DeviceContext,
  PAUTHZ_CLIENT_CONTEXT_HANDLE phCompoundContext
);

Parameters

UserContext

User context to create the compound context from.

DeviceContext

Device context to create the compound context from. This must not be the same as the user context.

phCompoundContext

Used to return the resultant compound context.

Return Value

If the function succeeds, it returns TRUE.

If the function fails, it returns FALSE. To get extended error information, call GetLastError.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header authz.h
Library Authz.lib
DLL Authz.dll