Share via


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)

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.

See also

Reference

SPChangeGroup class

SPChangeGroup members

Microsoft.SharePoint namespace