NotificationReaderGetNotifications Method (ConnectionId, SessionId, Int32, NotificationReaderSortOrder, NotificationReaderListFilter, Int32, Int32, Int32, Int32, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Returns a list of notifications for the calling user

Namespace: ContentStudio.Notifications
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public string GetNotifications(
	ConnectionId connectionId,
	SessionId sessionId,
	int trusteeId,
	NotificationReaderSortOrder sortOrder,
	NotificationReaderListFilter filterCriteria,
	int currentId,
	ref int pageNumber,
	int pageSize,
	out int pageCount,
	out int recordCount


Type: ContentStudioConnectionId
A value that identifies the web site
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Type: SystemInt32
The user to list notifications for. Pass zero to list notifications for the caller. Reading notifications for other users is very limited due to strong security settings.
Type: ContentStudio.NotificationsNotificationReaderSortOrder
Indicates how the list should be sorted
Type: ContentStudio.NotificationsNotificationReaderListFilter
Indicates what type of notifications to include in the list.
Type: SystemInt32
This is the id of the current selected notification item or zero. If this item exists GetNotifications returns page where the item exists using the indicated sorting and filter. If not found the page indicated by the PageNumber parameter is returned instead. CurrentID can be used re-sort the list and still maintain the focus on the current selected item. Pass zero to ignore this functionality or when a selected item does not exist.
Type: SystemInt32
The page number to read. If this value is less than 1 PageNumber will be 1. After the call this parameter will be updated with the actual page number. This value can be changed if the CurrentID parameter was defined.
Type: SystemInt32
The size of the pages to read. If this parameter is less than 1 pageSize will be 10.
Type: SystemInt32
The total pages of data found
Type: SystemInt32
The total entries found

Return Value

Type: String
    >title<A messagetitle&lt;
    >sender<Content Studioruntime>/sender<
  &gt;!--More notelement canfollow--&lt;

CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionA parameter has an invalid value
CSInvalidParameterExceptionThe session is invalid
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

READ permission on the user's mailbox is required. This permission is normally limited to the user self and to administrators. Additionally the sender has permission to list her sent items.
See Also