Click or drag to resize

IdentityIsInRole Method

Checks whether the user is in the specified role.

Namespace:  Colygon.MatchPoint.Common.Security
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2016.10.0.0
Syntax
C#
public bool IsInRole(
	string role
)

Parameters

role
Type: SystemString
The role to check.

Return Value

Type: Boolean
True if and only if the user is in the specified role.
See Also