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

The type exposes the following members.

Public Constructors

  Name Description
Public method UserProfile
Constructor

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SwitchRole
Switches this user to the given UserRole.
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 UserProfile for the application user
Public property CurrentRole
Gets the current role for this user.
Public property DefaultRole
Gets the default role for this user.
Public property Groups
Gets the collection of groups to which this user belongs.
Public property Static member GuestUser
Returns the UserProfile for the guest user
Public property HasIndividualAccess
Returns true if the user has any entries in the UserContentAccess table.
Public property Roles
Gets the roles for this user.
Public property User Overloaded.

See Also

Advanced