C# Class Cats.Services.Security.UserPrincipal

Inheritance: IPrincipal
Afficher le fichier Open project: edgecomputing/cats Class Usage Examples

Méthodes publiques

Méthode Description
IsInRole ( string role ) : bool
UserPrincipal ( IIdentity identity ) : System

Private Methods

Méthode Description
UserPrincipal ( ) : System

Method Details

IsInRole() public méthode

public IsInRole ( string role ) : bool
role string
Résultat bool

UserPrincipal() public méthode

public UserPrincipal ( IIdentity identity ) : System
identity IIdentity
Résultat System