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

Adds a new role in the database that corresponds to this object

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

Syntax

C#
public OCServiceReturnStatus AddNewDb(
	int groupId,
	int userId,
	OCRole ocr
)
Visual Basic (Declaration)
Public Function AddNewDb ( _
	groupId As Integer, _
	userId As Integer, _
	ocr As OCRole _
) As OCServiceReturnStatus
Visual C++
public:
OCServiceReturnStatus AddNewDb(
	int groupId, 
	int userId, 
	OCRole^ ocr
)

Parameters

groupId
Type: System..::.Int32
The unique id of the current group
userId
Type: System..::.Int32
The unique id of the current user
ocr
Type: OfficeClip.BusinessLayer.Service..::.OCRole
The role to be added to the database

Return Value

Returns success or failure values

See Also