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

Gets a list of groups which have access to a particular resource belonging to the currently logged in user.

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

Syntax

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

Parameters

resourceId
Type: System..::.Int32
Id of the resource for which all the groups having access has to be retrieved.
userId
Type: System..::.Int32
The unique id of the current user

Return Value

DataSet containing the ids and names of the groups having access to a particular resource. This DataSet consists of a single DataTable with the following columns.
  • GroupId (System.Int32)Id of the group.
  • groupName (System.String)Name of the group.

See Also