Gets the previous status info for a User from the server.

Namespace: ININ.IceLib.People
Assembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public Dictionary<string, UserStatusPreviousInfo> GetPreviousStatusInfo(
	string userId
)
Visual Basic
Public Function GetPreviousStatusInfo ( _
	userId As String _
) As Dictionary(Of String, UserStatusPreviousInfo)

Parameters

userId
Type: System..::..String
The user ID.

Return Value

The UserStatusPreviousInfo collection that was returned.

Remarks

This can be useful for pre-filling previous values when a User is setting a status, so that old status info can be pre-populated into a dialog. The data can then be used with the UserStatusUpdate class to retain previous values. The same result could be obtained by setting the Notes and Forward Number to nullNothingnullptra null reference (Nothing in Visual Basic) in the UserStatusUpdate class, but usage of the GetPreviousStatusInfo method can allow the user to know what values will be set ahead of time.

Note
Only returns results for statuses that have had Notes or a ForwardNumber previously set.

Exceptions

ExceptionCondition
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also