UserProfileService.GetProfileSchemaNames method

Gets the names of the subtypes for the user profile type.

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

Syntax

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

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

Return value

Type: []
An array that contains the names of the subtypes of the user profile type.

Exceptions

Exception Condition
SoapException

The names cannot be retrieved.

Remarks

This method returns the list of the profile subtype names for the user profile type.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace