Skip to main content
Sets the profiles access policy

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFProfilesSetEntityProfilePolicyRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on all platforms. This will set the access policy statements on the given entity profile. This is not additive, any existing statements will be replaced with the statements in this request. See also ProfileGetProfileAsync. When the asynchronous task is complete, call PFProfilesSetProfilePolicyGetResultSize and PFProfilesSetProfilePolicyGetResult to get the result.

Requirements

Header: PFProfiles.h

See also

PFProfiles members
Last modified on August 1, 2026