UserProfileService.GetUserProfileByName method
SharePoint 2013
This documentation is preliminary and is subject to change.
Gets the user profile property information by account name.
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: WebSvcUserProfileService.PropertyData[]An array that contains the properties information about the specified user profile.
| Exception | Condition |
|---|---|
| SoapException | The information cannot be retrieved. |