AuthzModifySecurityAttributes function

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

Syntax

AUTHZAPI BOOL AuthzModifySecurityAttributes(
  AUTHZ_CLIENT_CONTEXT_HANDLE            hAuthzClientContext,
  PAUTHZ_SECURITY_ATTRIBUTE_OPERATION    pOperations,
  PAUTHZ_SECURITY_ATTRIBUTES_INFORMATION pAttributes
);

Parameters

hAuthzClientContext

A handle to the client context to be modified.

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.

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.

Requirements

   
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