Adds a user.
Namespace: ConnectedApps.Cms.Sdk.DataAssembly: ConnectedApps.Cms.Sdk.Data (in ConnectedApps.Cms.Sdk.Data.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Guid Add(
string firstName,
string lastName,
string email,
string password,
bool isAdmin,
UserProfile profile,
List<Guid> groups
)
Public Function Add (
firstName As String,
lastName As String,
email As String,
password As String,
isAdmin As Boolean,
profile As UserProfile,
groups As List(Of Guid)
) As Guid
public:
Guid Add(
String^ firstName,
String^ lastName,
String^ email,
String^ password,
bool isAdmin,
UserProfile^ profile,
List<Guid>^ groups
)
member Add :
firstName : string *
lastName : string *
email : string *
password : string *
isAdmin : bool *
profile : UserProfile *
groups : List<Guid> -> Guid
Parameters
- firstName
- Type: SystemString
The first name of the user. - lastName
- Type: SystemString
The last name of the user. - email
- Type: SystemString
The email address of the user. - password
- Type: SystemString
The password for the user. - isAdmin
- Type: SystemBoolean
If true, the user will be assigned the Administrator group. - profile
- Type: ConnectedApps.Cms.EntitiesUserProfile
A profile with custom data. - groups
- Type: System.Collections.GenericListGuid
A collection of groups to assign to the user.
Return Value
Type:
Guid
See Also