UserProfileService.GetProfileSchema method

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

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetProfileSchema", RequestNamespace := "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "http://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("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetProfileSchema", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "http://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

WebSvcUserProfileService namespace