|   | 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.257-beta
 Syntax
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);
Parameters
- 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
See Also