Overview
Creates a new user with specified propertiesIdentity $Membership.CreateUser(properties: UserInfo)
Arguments
UserInfo properties
User properties
Returns
Returns the created user Identity | identityRemarks
Properties object is a javascript object with may contain the following properties. Not all properties are required, only specified properties are updated.
Example
Set a user password with default emakin organization provider.
var user = $Membership.CreateUser({ id : 'john.doe@6kare.com', password : 'myPassword' });
Types
UserInfo
{
// Avatar urls of user
avatar :
{
large : string
normal : string
small : string
}
UserInfoPropery
{
// Name of property
name : string
// Value of property
value : string
}