AuthzModifySecurityAttributes function (authz.h)

The AuthzModifySecurityAttributes function modifies the security attribute information in the specified client context.


AUTHZAPI BOOL AuthzModifySecurityAttributes(
  [in] AUTHZ_CLIENT_CONTEXT_HANDLE            hAuthzClientContext,


[in] hAuthzClientContext

A handle to the client context to be modified.

[in] pOperations

A pointer to an array of AUTHZ_SECURITY_ATTRIBUTE_OPERATION enumeration values that specify the types of modifications to make.

This array must have only one element if the value of that element is AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE_ALL. Otherwise, the array has the same number of elements as the pAttributes array.

[in] pAttributes

A pointer to an AUTHZ_SECURITY_ATTRIBUTES_INFORMATION structure that specifies the attributes to modify.

Return value

If the function succeeds, it returns TRUE.

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


Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header authz.h
Library Authz.lib
DLL Authz.dll