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 sealed class UserContext
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class UserContext

The type exposes the following members.

Public Constructors

  Name Description
Public method UserContext Overloaded.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member SetApplicationUser
Sets the Site Administrator as the current user.
Public method Static member SetGuestUser
Sets the Guest User as the current user.
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::ToString()()()().)

Protected Methods

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

Public Properties

  Name Description
Public property Static member ApplicationUser
Returns the UserContext for the application user.
Public property Static member Current
Gets the current UserContext.
Public property Static member GuestUser
Returns the UserContext for the application user.
Public property SecurityProfile
Gets the security profile of a user.

Explicit Interface Implementations

See Also

Advanced