How to add new properties on the CMS Create User Screen



How we can extend the properties of create user in admin panel of CMS? I want to add new properties to the create user screen i.e. CMS/Admin/Create User



Oct 20, 2019 17:45

Adding the new property to the user profile is easily done in web.config. Extending the user admin dialog will take some more work.

Have a look at:

Oct 20, 2019 21:44
Mark Stott - Aug 02, 2023 10:01
This was just what I needed for a CMS 11 build. Will be interesting to see if and how this works with CMS 12.

Hi Tomas,

Thanks for your quick response. I have tried implemented as shown in the link you have shared. What would be the best practice to include new fields which are not part of the exisitng user profile.

<profile defaultProvider="DefaultProfileProvider">
<add name="Address" type="System.String" />
<add name="ZipCode" type="System.String" />
<add name="Locality" type="System.String" />
<add name="Email" type="System.String" />
<add name="FirstName" type="System.String" />
<add name="LastName" type="System.String" />
<add name="Language" type="System.String" />
<add name="Country" type="System.String" />
<add name="Company" type="System.String" />
<add name="Title" type="System.String" />
<add name="CustomExplorerTreePanel" type="System.String" />
<add name="FileManagerFavourites" type="System.Collections.Generic.List`1[System.String]" />
<add name="EditTreeSettings" type="EPiServer.Personalization.GuiSettings, EPiServer.Cms.AspNet" />
<add name="ClientToolsActivationKey" type="System.String" />
<add name="FrameworkName" type="System.String" />
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="EPiServerDB" applicationName="/" />

Is it possible to add other properties , so that they can stored in database.



Oct 22, 2019 13:32

The first question you should ask yourself is if you really want to use the legacy provider system or switch to identity or a federated setup instead. Using the membership and profile providers will in my experience only lead to pain and suffering.

Oct 22, 2019 13:55

I did similar kind of thing in some project using Entity Framwork. That was more easier for to use. :)

But we have more options as Thomas suggested. You can choose any of them.

Oct 22, 2019 15:47
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.