UserRoles.Contains

Syntax:

Contains(<Role>)

Parameters:

<Role> (required)

Type: MetadataObject: Role.
Sought role.

Returned value:

Type: Boolean.
True means the collection contains the role, otherwise False -is returned.

Description:

Determines whether the collection of user roles being used contains the specified role.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community