0 out of 1 rated this helpful - Rate this topic

UserGroup.GetRoleCollectionFromUser Method

Windows SharePoint Services 3
Retrieves information about the collection of role definitions in which the specified user is a member.

Web Service: Users and GroupsWeb Reference: http://<Site>/_vti_bin/usergroup.asmx
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/directory/GetRoleCollectionFromUser", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/directory/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/directory/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode GetRoleCollectionFromUser (
	string userLoginName
)

Parameters

userLoginName

A string that contains the user name (DOMAIN\User_Alias) of the user.

Return Value

Returns an XML fragment that provides information about the specified collection of role definitions.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.