Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
Public Shared Function GetProviderName ( _
fullName As String _
) As String
'Usage
Dim fullName As String
Dim returnValue As String
returnValue = SPUtility.GetProviderName(fullName)
public static string GetProviderName(
string fullName
)
Parameters
fullName
Type: System.StringThe 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.