Click or drag to resize

SecurityPrincipalIsInRole Method

Determines whether the user is a member of either of the specified roles.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
public bool IsInRole(
	string roles
)
View Source

Parameters

roles  String
Comma separated list of roles to check.

Return Value

Boolean
true if the user is a member of either of the specified roles, otherwise false.

Implements

IPrincipalIsInRole(String)
See Also