Share via


UserProfileService.GetProfileSchema Method

Gets a list of properties associated with the specified profile subtype.

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

Syntax

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

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

Parameters

  • schemaName
    Type: System.String

    The name of the profile subtype to retrieve.

Return Value

Type: []
An array that contains the properties of the specified profile subtype.

Exceptions

Exception Condition
SoapException

The list cannot be retrieved.

Remarks

This method returns the list of Web service available properties for the specified profile subtype.

See Also

Reference

UserProfileService Class

UserProfileService Members

UserProfileService Web Service