SPChangeGroup.UserId Property
Gets the ID of the user added or removed from the group.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property UserId As Integer
Get
'Usage
Dim instance As SPChangeGroup
Dim value As Integer
value = instance.UserId
public int UserId { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the ID of the user.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The value of the ChangeType property is neither SPChangeType.MemberAdd nor SPChangeType.MemberDelete. |