Zum Hauptinhalt springen

createAccessProfile

createAccessProfile(__namedParameters, skipIfExists?): boolean

Creates an access profile with the given parameters and assigns it to specified users.

Parameters

__namedParameters

AccessProfileParams

skipIfExists?

boolean

Whether to skip creation if the access profile already exists. Defaults to true.

Returns

boolean

true if the access profile was created, false if it already exists, but only if skipIfExists is true.

Throws

When unable to create the access profile.