SPUtility.GetProviderName Method

Returns the membership provider portion of a full user name.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public static string GetProviderName(
	string fullName


Type: System.String

The full user name.

Return Value

Type: System.String
The membership provider name. If the argument to the fullName parameter is not in the correct membership provider format, an empty string is returned.