C# Class SenseNet.Portal.Helpers.Security

显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
IsInRole ( string role ) : bool
IsUserInRole ( string rolePath, string userPath ) : bool

Method Details

IsInRole() public static method

public static IsInRole ( string role ) : bool
role string
return bool

IsUserInRole() public static method

public static IsUserInRole ( string rolePath, string userPath ) : bool
rolePath string
userPath string
return bool