[This is preliminary documentation and is subject to change.]

Creates a new user in the specified group

Namespace:  OfficeClip.DBLayer.Account
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int AddMember(
	int groupId,
	string firstName,
	string lastName,
	string emailAddress,
	string password,
	int creatorId,
	string login_name,
	out int userId
)
Visual Basic (Declaration)
Public Function AddMember ( _
	groupId As Integer, _
	firstName As String, _
	lastName As String, _
	emailAddress As String, _
	password As String, _
	creatorId As Integer, _
	login_name As String, _
	<OutAttribute> ByRef userId As Integer _
) As Integer
Visual C++
public:
int AddMember(
	int groupId, 
	String^ firstName, 
	String^ lastName, 
	String^ emailAddress, 
	String^ password, 
	int creatorId, 
	String^ login_name, 
	[OutAttribute] int% userId
)

Parameters

groupId
Type: System..::.Int32
The database generated id of the group
firstName
Type: System..::.String
The first name of the user
lastName
Type: System..::.String
The last name of the user
emailAddress
Type: System..::.String
The email address of the user
password
Type: System..::.String
The user password
creatorId
Type: System..::.Int32
The database generated id of the creator
login_name
Type: System..::.String
The login name for
userId
Type: System..::.Int32%
returned ID of the newly created user

Return Value

0 if the operation was successful, false otherwise

See Also