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

Gets all the information for all the resources belonging to the currently selected group and visible 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 GetAllResources(
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function GetAllResources ( _
	userId As Integer, _
	groupId As Integer _
) As DataSet
Visual C++
public:
DataSet^ GetAllResources(
	int userId, 
	int groupId
)

Parameters

userId
Type: System..::.Int32
groupId
Type: System..::.Int32

Return Value

DataSet containing all the resources related information. This DataSet consists of a single DataTable with the following columns.
  • resourceId (System.Int32)Id of the resource.
  • ResourceName (System.String)Name of the resource.
  • Capacity (System.Stirng)Capacity in a meaning number of units pertaining to a particular resource for e.g. 10 people can be a Capacity of a conference room resource.
  • Features (System.String)Features of the resource.
  • Udf1Name (System.String)First user defined field name
  • Udf1Value (System.String)First user defined field value
  • Udf2Name (System.String)Second user defined field name
  • Udf2Value (System.String)Second user defined field value
  • addressId (System.Int32)Id of the Address record corresponding to the Address of the resource.
  • groupName (System.String)Name of the group to which this resource belongs.
  • ResourceType (System.String)Type of the resource. (this value is also specified by the user).
  • Line1 (System.String)First line of the Address of the resource.
  • Line2 (System.String)Second line of the Address of the resource.
  • city (System.String)City of the resource Address.
  • State (System.String)State of the resource Address.
  • zip (System.String)Zip code of the resource Address.
  • Country (System.String)Country of the resource addrres.

See Also