|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
| C# |
|
|---|---|
public abstract class UserContextBase
|
|
| Visual Basic (Declaration) |
|
|---|---|
Public MustInherit Class UserContextBase
|
|
The type exposes the following methods.
Public Methods
| Name | Description | |
|---|---|---|
|
|
Clear |
Clears any remaining open impersonations.
|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
SetCurrent |
Sets the given IUserContext as the current IUserContext on this thread.
|
|
|
SetCurrentWithToken |
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.
|
|
|
ToString | (Inherited from Object.) |
|
|
UndoImpersonation |
Makes the previous impersonation undone.
|
Protected Methods
| Name | Description | |
|---|---|---|
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
See Also
Smartsite.Base Namespace