UserProfileService.GetUserProfileByGuid Method
Gets the user profile properties information by GUID.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByGuid", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetUserProfileByGuid ( _
guid As Guid _
) As PropertyData()
'Usage
Dim instance As UserProfileService
Dim guid As Guid
Dim returnValue As PropertyData()
returnValue = instance.GetUserProfileByGuid(guid)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByGuid", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public PropertyData[] GetUserProfileByGuid(
Guid guid
)
Parameters
guid
Type: System.GuidThe GUID of the user profile to be retrieved.
Return Value
Type: []
An array that contains the user profile properties information.
Exceptions
Exception | Condition |
---|---|
SoapException | guid is Empty(). |
SoapException | The properties cannot be retrieved. |
Remarks
This method gets the user profile for the specified GUID, and returns the properties of the user profile.