Export (0) Print
Expand All

UserProfileService.GetProfileSchemaNameByAccountName method

Gets the name of the profile subtype for the specified account name.

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

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

Parameters

accountName
Type: System.String

The account name of the user.

Return value

Type: System.String
The name of the profile subtype of the specified user.

ExceptionCondition
SoapException

The name cannot be retrieved.

This method returns the name of the profile subtype for the user specified by the accountName parameter.

Show:
© 2015 Microsoft