C# Class Core.Framework.NHibernate.Models.User

Inheritance: Core.Framework.Permissions.Models.BaseUser, IPermissible
Afficher le fichier Open project: coreframework/Core-Framework Class Usage Examples

Méthodes publiques

Méthode Description
IsInRole ( String role ) : bool

Determines whether the current principal belongs to the specified role.

Method Details

IsInRole() public méthode

Determines whether the current principal belongs to the specified role.
public IsInRole ( String role ) : bool
role String The name of the role for which to check membership.
Résultat bool