[This is preliminary documentation and is subject to change.]
Gets the annoucements for the currently
logged in user.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetAnnounce( int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function GetAnnounce ( _ userId As Integer, _ groupId As Integer _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetAnnounce( int userId, int groupId ) |
Parameters
- userId
- Type: System..::.Int32
The unique identifier for the user.
- groupId
- Type: System..::.Int32
The unique id of the organization
Return Value
DataSet containing a single table with following colums- announceId (System.Int32) Id of the announcement.
- gname (System.String) Name of the group for which the announcement is created.
- announcet (System.String)title of the annoucement.
- announced (System.String)Description of the annoucement.
- closeDate (System.DateTime)Date and Time when this annoucement is closing.
- createdUserId (System.Int32)Id of the user who created the annoucement.
- CreatedDate (System.DateTime) Date and Time when this annoucement was created.
- uName (System.String) The name of the user who for whom this annoucement is created.
- IsAdmin (System.String) Flag (Y/N) which indicates whether the user is admin that group or not.