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

Inheritance: Core.Framework.Permissions.Models.BaseUser, IPermissible
显示文件 Open project: coreframework/Core-Framework

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