ktb_eqtrdev
Bram
gregor.tusar
var config = umbracoHelper.ContentAtRoot().DescendantsOrSelfOfType(MySpecialConfiguration.ModelTypeAlias).FirstOrDefault() as MySpecialConfiguration;
FirstOrDefault()
Vifon
Owain Jones
uros_sowa_01189
Dean Leigh
Tronglonok
TackleMcClean 🏅
private void CreateUserIfNotExist(string email, string password, string? name) { var user = _userService.GetByEmail(email); if (user != null) { return; } var newUser = _userService.CreateUserWithIdentity(name ?? email, email); var userGroup = _userService.GetUserGroupByAlias("editors") as IReadOnlyUserGroup; if (userGroup != null) { newUser.AddGroup(userGroup); newUser.RawPasswordValue = ???? // how to hash password? _userService.Save(newUser); } }
RawPasswordValue
<IUser>
CreateUserWithIdentity
jacksorjacksor (Richard Jackson)
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!