Share via


SPAlert.UserId property

Gets or sets the ID of the user who created the alert.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserId As Integer
    Get
    Friend Set
'Usage
Dim instance As SPAlert
Dim value As Integer

value = instance.UserId
public int UserId { get; internal set; }

Property value

Type: System.Int32
A 32-bit integer that identifies the user.

See also

Reference

SPAlert class

SPAlert members

Microsoft.SharePoint namespace