Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UserProfileService.GetUserProfileByName method

Gets the user profile property information by account name.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public PropertyData[] GetUserProfileByName(
	string AccountName
)

Parameters

AccountName
Type: System.String

The account name of the user profile to be retrieved.

Return value

Type: []
An array that contains the properties information about the specified user profile.
ExceptionCondition
SoapException

The information cannot be retrieved.

This method gets the user profile for the specified account name, and returns the user profile properties.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.