[This is preliminary documentation and is subject to change.]
Gets all the information related to a poll for a particular user.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetPoll( int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetPoll ( _ userId As Integer, _ groupId As Integer _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetPoll( int userId, int groupId ) |
Parameters
- userId
- Type: System..::.Int32
The unique id of the user.
- groupId
- Type: System..::.Int32
The unique id of the organization
Return Value
DataSet containing all the information related to a poll. The DataSet consists of a single DataTable with the following columns.- pid (System.Int32)Id of the poll.
- gname (System.String)Name of the group for which the poll has been created.
- pollq (System.String)Poll Description or the question of the poll.
- vote (System.Int32)Number of votes for a particular poll.
- closeDate (System.DateTime)Date and Time when the Current poll expires.
- createdUserId (System.Int32)Id of the user who created the poll.
- CreatedDate (System.DateTime)Date and Time when the poll was created.
- uName (System.String)Name of the user who created the poll.
- IsAdmin (System.String)Flag (Y/N) indicating whether the user is the admin in the group for which the poll is created.