SPAlert Properties (Microsoft.SharePoint)
Public Properties

  Name Description
Public property AlertFrequency
Gets or sets the time interval for sending the alert.
Public property AlertTemplate
Gets or sets the alert template of which the alert is an instance.
Public property AlertTemplateName
Gets or sets the string representing the alert template name.
Public property AlertTime
Gets or sets the date and time for sending the alert.
Public property AlertType
Gets or sets the type of object to which the alert applies, which can be a list or document library, a list item or document, or a custom object.
Public property AlwaysNotify
Gets or sets a Boolean value that causes daily and weekly alerts to always trigger, even if there is no matching event.
Public property DynamicRecipient
Gets or sets the string in Collaborative Application Markup Language (CAML) that defines the event data to use to populate the e-mail recipient field in the alert.
Public property EventType
Gets or sets the type of event to which the alert applies.
Public property EventTypeBitmask
Gets or sets the type of event to which the alert applies as a bitmask.
Public property Filter
Gets or sets the syntax query in Collaborative Application Markup Language (CAML) for a filter to apply to the alert.
Public property ID
Gets or sets the GUID that identifies the alert.
Public property Item
Gets or sets the list item or document to which the alert applies.
Public property ItemID
Gets or sets the integer that identifies the list item or document to which an alert applies in the parent collection of list items.
Public property List
Gets or sets the list or document library to which the alert applies.
Public property ListID
Gets or sets the GUID of the list or document library to which the alert applies.
Public property ListUrl
Gets the site-relative URL of the list to which the alert applies.
Public property MatchId
Gets or sets the pre-filtering GUID for an externally matched alert.
Public property Properties
Gets the properties of the alert.
Public property Status
Gets or sets the status of the alert.
Public property Title
Gets or sets the title of the alert as displayed in the user interface.
Public property User
Gets or sets a user object representing the user who created the alert.
Public property UserId
Gets or sets the ID of the user who created the alert.
Top
See Also

Tags :


Community Content

jcorra
SPAlert.User
The Intellisense inline documentation for the User Property seems to be wrong. According to Intellisense, the User Property only has a get, not a set. Also, it's not really the user who created the alert, it's the user who will receive the alert.
Tags :

Page view tracker