code | type | title | description |
---|---|---|---|
true |
page |
setPolicies |
Profile:setPolicies |
Replaces the roles associated with this security profile.
Arguments | Type | Description |
---|---|---|
policyIDs |
array of strings | Policy IDs to add |
Arguments | Type | Description |
---|---|---|
policyDefinitions |
array of JSON objects | Policy definitions to add |
Returns the Profile
object.
::: info
Updating a profile will have no impact until the save
method is called
:::
<<< ./snippets/set-policies-1.java