|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Sets the given IUserContext as the current IUserContext on this thread and returns
a token that, when disposed, will undo the impersonation. This method is designed for using statements.
Namespace: Smartsite.Base
Assembly: Smartsite.Base (in Smartsite.Base.dll)
Syntax
| C# | |
|---|---|
public static SetCurrentWithToken( context ) | |
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function SetCurrentWithToken ( _ context As _ ) As | |
Parameters
- context
- IUserContext
Return Value
See Also
UserContextBase Class
Smartsite.Base Namespace