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

Inheritance: Core.Framework.Permissions.Models.BaseUser, IPermissible
Mostrar archivo Open project: coreframework/Core-Framework Class Usage Examples

Public Methods

Method Description
IsInRole ( String role ) : bool

Determines whether the current principal belongs to the specified role.

Method Details

IsInRole() public method

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.
return bool