How to Create User profiles in Sitecore Programatically
Asked Answered
G

1

5

I want to functionality functionality of signup for sitecore website. I want to add sitecore users/user profiles dynamically.

If anyone can help me, it would be highly appriciated.

Graecize answered 7/8, 2012 at 7:6 Comment(0)
E
14

Sitecore uses the standard ASP.NET Membership provider for its users so you can create users with basic ASP.NET calls..

userName = string.Format(@"{0}\{1}", domain, userName);
Membership.CreateUser(userName, password, email);

domain variable would be sitecore or extranet.

Karina Apostolides has a collection of useful membership functions available here: Programmatically Add & Edit Users

Expressman answered 7/8, 2012 at 8:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.