GroupCollection.RemoveByLoginName method
Removes the cross-site group with the specified name from the collection.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub RemoveByLoginName ( _
loginName As String _
)
'Usage
Dim instance As GroupCollection
Dim loginName As String
instance.RemoveByLoginName(loginName)
public void RemoveByLoginName(
string loginName
)
Parameters
loginName
Type: System.StringA string that contains the name of the group.