Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetProviderName method
Collapse the table of content
Expand the table of content

SPUtility.GetProviderName method

Returns the membership provider portion of a full user name.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string GetProviderName(
	string fullName
)

Parameters

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.
Show:
© 2015 Microsoft