UserProfileService.GetUserProfileByGuid method

Gets the user profile properties information by GUID.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

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.Guid

    The 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.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace