Skip to content

Set Script Role Permission

Sets the script permissions for a role.

Permissions

Command KindNeeded User Kind
WriteAdmin, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
PermissionstringScript permissions of the role: [None] or [Run].yes
Rolearray of stringName of the role ([Role]).yes
Scriptarray of stringName of the script ([Script]).yes

Result

No fields

Code

text
SET SCRIPT ROLE PERMISSION
PERMISSION=[string, Needed]
ROLE=[string, Multiple, Needed]
SCRIPT=[string, Multiple, Needed]