C# Class Castle.Samples.WindsorSilverlight.Security.AppPrincipal

Inheritance: IPrincipal
显示文件 Open project: HEskandari/Castle-Windsor-Examples

Public Methods

Method Description
AppPrincipal ( IIdentity identity, string roles ) : System.Collections.Generic
IsInRole ( string role ) : bool

Method Details

AppPrincipal() public method

public AppPrincipal ( IIdentity identity, string roles ) : System.Collections.Generic
identity IIdentity
roles string
return System.Collections.Generic

IsInRole() public method

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