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# | Copy Code |
---|---|
public abstract class UserContextBase |
Visual Basic (Declaration) | Copy Code |
---|---|
Public MustInherit Class UserContextBase |
The type exposes the following members.
Protected Constructors
Name | Description | |
---|---|---|
UserContextBase |
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.) |
Public Properties
Name | Description | |
---|---|---|
Current |
Gets the current IUserContext.
|
See Also
Smartsite.Base Namespace