|
SecurityPrincipalIsInRole Method
|
Determines whether the user is a member of either of the specified roles.
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.248-beta
Syntaxpublic bool IsInRole(
string roles
)
Public Function IsInRole (
roles As String
) As Boolean
public:
virtual bool IsInRole(
String^ roles
) sealed
abstract IsInRole :
roles : string -> bool
override IsInRole :
roles : string -> bool
function IsInRole(roles);
View SourceParameters
- roles String
- Comma separated list of roles to check.
Return Value
Booleantrue if the user is a member of either of the specified
roles, otherwise false.
Implements
IPrincipalIsInRole(String)
See Also