Click or drag to resize
UsersAdd Method
Adds a user.

Namespace: ConnectedApps.Cms.Sdk.Data
Assembly: ConnectedApps.Cms.Sdk.Data (in ConnectedApps.Cms.Sdk.Data.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Guid Add(
	string firstName,
	string lastName,
	string email,
	string password,
	bool isAdmin,
	UserProfile profile,
	List<Guid> groups
)

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