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

Returns an array of roleinfo object. An important thing to be noted is that the role_id = -2 is reserved for the role name "Administrator" and the role_id = -3 is reserved for the role name "All Members".

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

Syntax

C#
public RoleInfo[] GetRoles(
	int groupId
)
Visual Basic (Declaration)
Public Function GetRoles ( _
	groupId As Integer _
) As RoleInfo()
Visual C++
public:
array<RoleInfo^>^ GetRoles(
	int groupId
)

Parameters

groupId
Type: System..::.Int32
The unique id of the group for which the role names are desired.

Return Value

The array list of the RoleInfo object with the roleid and role name populated

See Also