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

Inserts a single user into a role.

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

Syntax

C#
public DBConstants..::.ReturnValue InsertRoleUser(
	int roleId,
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function InsertRoleUser ( _
	roleId As Integer, _
	userId As Integer, _
	groupId As Integer _
) As DBConstants..::.ReturnValue
Visual C++
public:
DBConstants..::.ReturnValue InsertRoleUser(
	int roleId, 
	int userId, 
	int groupId
)

Parameters

roleId
Type: System..::.Int32
The unique id of the role
userId
Type: System..::.Int32
The unique id of the user
groupId
Type: System..::.Int32
The unique id of the group

Return Value

Enumerated type return value

See Also