@servicenow/sdk - v4.7.0
    Preparing search index...
    • Creates a new Role (sys_user_role)

      Parameters

      • config: Role & Meta

        an object containing the following properties:

        • name - name for the role beginning with the application scope in the following format: <scope>.<name>.
        • assignableBy? - other roles that can assign this role to users.
        • canDelegate? - indicates if the role can be delegated to other users.
        • containsRoles? - variable identifiers of other Role objects that this role contains.
        • description? - a description of what the role can access.
        • elevatedPrivilege? - indicates whether manually accepting the responsibility of using the role before you can access the features of the role is required.
        • grantable? - indicates whether the role can be granted independently
        • scopedAdmin? - indicates whether the role is an Application Administrator role.

      Returns Required<Role>