C# Class System.Web.Security.ComBoostPrincipal

ComBoost principal wrapper.
Inheritance: IPrincipal
Afficher le fichier Open project: Kation/ComBoost Class Usage Examples

Méthodes publiques

Méthode Description
ComBoostPrincipal ( IPrincipal user ) : System

Initialize comboost principal.

IsInRole ( object role ) : bool

Determines whether the current principal belongs to the specified role.

IsInRole ( string role ) : bool

Determines whether the current principal belongs to the specified role.

Method Details

ComBoostPrincipal() public méthode

Initialize comboost principal.
public ComBoostPrincipal ( IPrincipal user ) : System
user IPrincipal Principal to wrapper.
Résultat System

IsInRole() public méthode

Determines whether the current principal belongs to the specified role.
public IsInRole ( object role ) : bool
role object Role.
Résultat bool

IsInRole() public méthode

Determines whether the current principal belongs to the specified role.
public IsInRole ( string role ) : bool
role string Role.
Résultat bool