UserProfileService.GetProfileSchemaNames method

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

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

Syntax

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