AuthzFreeCentralAccessPolicyCache function (authz.h)

The AuthzFreeCentralAccessPolicyCache function frees the cache maintained as a result of AuthzCachedAccessCheck evaluating the Central Access Policies (CAP) that applies for the resource.


AUTHZAPI BOOL AuthzFreeCentralAccessPolicyCache();

Return value

If the function succeeds, it returns TRUE.

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


For more information, see the How AccessCheck Works and Centralized Authorization Policy overviews.


Requirement Value
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

See also

Centralized Authorization Policy

How AccessCheck Works