Export (0) Print
Expand All
Expand Minimize

AuthzFreeContext function

The AuthzFreeContext function frees all structures and memory associated with the client context. The list of handles for a client is freed in this call.

Starting with Windows Server 2012 and Windows 8, this function also frees the memory associated with device groups, user claims, and device claims.

Syntax


BOOL WINAPI AuthzFreeContext(
  _In_  AUTHZ_CLIENT_CONTEXT_HANDLE AuthzClientContext
);

Parameters

AuthzClientContext [in]

The AUTHZ_CLIENT_CONTEXT_HANDLE structure to be freed.

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 XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Authz.h

Library

Authz.lib

DLL

Authz.dll

See also

Basic Access Control Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft