UserIsInRole Method

Indicates whether the current user is a member of the specified role.

Namespace: BBNCExtensions.API.Users
Assemblies:  BBNCExtensions (in BBNCExtensions.dll) Version: 6.10.0.0
  BBNCExtensions (in BBNCExtensions.dll) Version: 6.10.0.0
Syntax
public abstract bool IsInRole(
	string RoleName
)

Parameters

RoleName
Type: SystemString
The name of the role.

Return Value

Type: Boolean
True if the user is a member of the role and False if not.