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 imageCopy Code
                                  public abstract class UserContextBase
Visual Basic (Declaration) Copy imageCopy Code
                                  Public MustInherit Class UserContextBase

The type exposes the following members.

Protected Constructors

  Name Description
Protected method UserContextBase

Public Methods

  Name Description
Public method Static member Clear
Clears any remaining open impersonations.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member SetCurrent
Sets the given IUserContext as the current IUserContext on this thread.
Public method Static member 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.
Public method ToString (Inherited from Object.)
Public method Static member UndoImpersonation
Makes the previous impersonation undone.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Static member Current
Gets the current IUserContext.

See Also

Advanced