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

Inserts an Existing User in OfficeClip to a particular group. This method should not be called from anywhere except for OEM add/Remove members. It should not be called for inviting members.

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

Syntax

C#
public int AddExistingMemberToGroup(
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function AddExistingMemberToGroup ( _
	userId As Integer, _
	groupId As Integer _
) As Integer
Visual C++
public:
int AddExistingMemberToGroup(
	int userId, 
	int groupId
)

Parameters

userId
Type: System..::.Int32
The existing user id of the member being added.
groupId
Type: System..::.Int32
The group id in which the new member is being added.

Return Value

0 if successful, -1 if the member is already present -2 if unable to send verification email

See Also