C# Class Serenity.Web.ImpersonatingAuthorizationService

Adds impersonation support to any IAuthorizationService implementation
Inheritance: IAuthorizationService, IImpersonator
Datei anzeigen Open project: volkanceylan/Serenity

Public Methods

Method Description
Impersonate ( string username ) : void
ImpersonatingAuthorizationService ( IAuthorizationService authorizationService ) : Serenity.Abstractions
UndoImpersonate ( ) : void

Private Methods

Method Description
GetImpersonationStack ( bool createIfNull ) : Stack

Method Details

Impersonate() public method

public Impersonate ( string username ) : void
username string
return void

ImpersonatingAuthorizationService() public method

public ImpersonatingAuthorizationService ( IAuthorizationService authorizationService ) : Serenity.Abstractions
authorizationService IAuthorizationService
return Serenity.Abstractions

UndoImpersonate() public method

public UndoImpersonate ( ) : void
return void