edoc automate Guide
Breadcrumbs

permissions\CheckUserRole - edoc automate

You can use the CheckUserRole action to check whether a specific role has been assigned to a user.

Parameters

Type

Name

Description

TEXT

User

Specifies the user for whom the role is being checked.

KEYVALUELIST

Role

Specifies the name of the roles to be checked.

SELECT

Validation

Specifies the type of verification.

  • every role: All roles must be assigned.

  • at least one role: One of the specified roles must be assigned.

Return

Type

Description

SINGLEVALUE

Returns the following values:

  • true: The user has the role.

  • false: The user does not have the role.