C# Class MonkeyWrench.DataClasses.Logic.WebServiceResponse

Show file Open project: rolfbjarne/monkeywrench Class Usage Examples

Public Properties

Property Type Description
UserRoles string[]

Public Methods

Method Description
IsInRole ( string role ) : bool

Checks if a user in in a specific role

Method Details

IsInRole() public method

Checks if a user in in a specific role
public IsInRole ( string role ) : bool
role string
return bool

Property Details

UserRoles public property

The role the logged in user has. May be null if the user has no roles.
public string[] UserRoles
return string[]