|
|
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 class UserProfile
|
|
| Visual Basic (Declaration) |
|
|---|---|
Public Class UserProfile
|
|
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
|
|
UserProfile |
Constructor
|
Public Methods
| Name | Description | |
|---|---|---|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
SwitchRole |
Switches this user to the given UserRole.
|
|
|
ToString | (Overrides Object..::ToString()()()().) |
Protected Methods
| Name | Description | |
|---|---|---|
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
|
|
ApplicationUser |
Returns the UserProfile for the application user
|
|
|
CurrentRole |
Gets the current role for this user.
|
|
|
DefaultRole |
Gets the default role for this user.
|
|
|
Groups |
Gets the collection of groups to which this user belongs.
|
|
|
GuestUser |
Returns the UserProfile for the guest user
|
|
|
HasIndividualAccess |
Returns true if the user has any entries in the UserContentAccess table.
|
|
|
Roles |
Gets the roles for this user.
|
|
|
User | Overloaded. |
See Also
Smartsite.Security Namespace