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

Gets a list of groups within the list of all the groups belonging to a particular account where the Current logged in user is not an admin.

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

Syntax

C#
public DataSet GetAccountNonAdminGroupList(
	int accountId,
	int userId
)
Visual Basic (Declaration)
Public Function GetAccountNonAdminGroupList ( _
	accountId As Integer, _
	userId As Integer _
) As DataSet
Visual C++
public:
DataSet^ GetAccountNonAdminGroupList(
	int accountId, 
	int userId
)

Parameters

accountId
Type: System..::.Int32
id corresponding to a particular account.
userId
Type: System..::.Int32
The system generated unique id for the user.

Return Value

DataSet containing a single DataTable with the following columns
  • GroupId (System.Int32) The id of the group
  • groupName (System.String) The name of the group

Remarks

Please note privilege is not of being the admin or owner of the account but the in a group. So this method returns a set of groups where the Current logged in user is not an admin and those groups are part of the account identified by the parameter AccountId.

See Also