UserProfileService.GetUserProfileSchema Method

Gets the information about default profile subtype properties that are available for the Web service.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileSchema", RequestNamespace := "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetUserProfileSchema As PropertyInfo()
'Usage
Dim instance As UserProfileService
Dim returnValue As PropertyInfo()

returnValue = instance.GetUserProfileSchema()
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileSchema", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public PropertyInfo[] GetUserProfileSchema()

Return Value

Type: []
An array that contains the schema information.

Exceptions

Exception Condition
SoapException

The information cannot be retrieved.

Remarks

This method returns the list of Web service available properties information about the default profile subtypes.

See Also

Reference

UserProfileService Class

UserProfileService Members

UserProfileService Web Service