C# Class Cats.Services.Security.UserPrincipal

Inheritance: IPrincipal
Show file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
IsInRole ( string role ) : bool
UserPrincipal ( IIdentity identity ) : System

Private Methods

Method Description
UserPrincipal ( ) : System

Method Details

IsInRole() public method

public IsInRole ( string role ) : bool
role string
return bool

UserPrincipal() public method

public UserPrincipal ( IIdentity identity ) : System
identity IIdentity
return System