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

The details of the notice if any if it is Active for a particular user at the Current moment.

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

Syntax

C#
public int GetCurrentNotice(
	int userId,
	ref string noticeDesc,
	ref DateTime fromDate,
	ref DateTime toDate,
	ref int createdUserId
)
Visual Basic (Declaration)
Public Function GetCurrentNotice ( _
	userId As Integer, _
	ByRef noticeDesc As String, _
	ByRef fromDate As DateTime, _
	ByRef toDate As DateTime, _
	ByRef createdUserId As Integer _
) As Integer
Visual C++
public:
int GetCurrentNotice(
	int userId, 
	String^% noticeDesc, 
	DateTime% fromDate, 
	DateTime% toDate, 
	int% createdUserId
)

Parameters

userId
Type: System..::.Int32
The ID of the user for which the Current notice
noticeDesc
Type: System..::.String%
The notice Description
fromDate
Type: System..::.DateTime%
The datetime from which the notice becomes Active.
toDate
Type: System..::.DateTime%
The datetime up to which the notice remains Active.
createdUserId
Type: System..::.Int32%
The ID of the user who created the User.

Return Value

The ID of the notice which is Current for a particular user at the time of the method request.

See Also