Thursday, June 30, 2005

GetUserCollectionFromSite Method

Looking for a method to find specific user by e-mail, userid, name from a site collection. Once found edit or delete user as needed.

Example
The following code example displays information about the collection of users for the current site collection.
[Visual Basic .NET]Dim usrgrpService As New Web_Reference_Folder_Name.UserGroup()
usrgrpService.Credentials = System.Net.CredentialCache.DefaultCredentials
Dim ndUsers As XmlNode = usrgrpService.GetUserCollectionFromSite()
MessageBox.Show(ndUsers.OuterXml)