Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 845 Bytes

File metadata and controls

40 lines (26 loc) · 845 Bytes
code type title description
true
page
setPolicies
Profile:setPolicies

setPolicies

Replaces the roles associated with this security profile.


setPolicies(Array<String> policyIDs)

Arguments Type Description
policyIDs array of strings Policy IDs to add

setPolicies(Array<JSONObject> policyDefinitions)

Arguments Type Description
policyDefinitions array of JSON objects Policy definitions to add

Return Value

Returns the Profile object.

::: info Updating a profile will have no impact until the save method is called :::

Usage

<<< ./snippets/set-policies-1.java