CRUD operations with user profiles

The user profile wraps the user and stores additional information such as first name, last name, avatar, etc. When creating a user, you must also create a user profile. The user profiles in Sitefinity CMS are represented by the Telerik.Sitefinity.Security.Model.SitefinityProfile class.

The SitefinityProfile class inherits the UserProfile class, which is used as base class when creating custom user profile implementations.

The SitefinityProfile class exposes the following properties for storage of additional user-related information:

  • About
    Represents a descriptive text about the user.
  • Avatar
    Represents the image used as the user’s avatar. For more details, see the Setting user’s avatar example.
  • FirstName
    Represents the user’s first name.
  • LastName
    Represents the user’s last name.
  • User
    Represents an instance of the user that the profile belongs to.

To manage the user profiles, use the Telerik.Sitefinity.Security.UserProfileManager class.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Get the current user