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 sealed class UserContext |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class UserContext |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
UserContext | Overloaded. |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
SetApplicationUser |
Sets the Site Administrator as the current user.
|
|
SetGuestUser |
Sets the Guest User as the current user.
|
|
ToString | (Overrides Object..::ToString()()()().) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
ApplicationUser |
Returns the UserContext for the application user.
|
|
Current |
Gets the current UserContext.
|
|
GuestUser |
Returns the UserContext for the application user.
|
|
SecurityProfile |
Gets the security profile of a user.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IUserContext..::..UserLocale | ||
IUserContext..::..UserProfile |
See Also
Smartsite.Security Namespace