SoftadminApi.User_HasRole

Type: Scalar function

Returns 1 if user has role, 0 otherwise.

Parameters

@UserID mandatory int
@RoleAlais mandatory varchar(200)
The alias of the role to query.