Share via


SPUserSettingsProviderManager.GetUserSettingsProvider method

Gets User Settings Provider. Returns NULL if provider can't be found.

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

Syntax

'Declaration
Public Function GetUserSettingsProvider ( _
    providerId As Guid _
) As SPUserSettingsProvider
'Usage
Dim instance As SPUserSettingsProviderManager
Dim providerId As Guid
Dim returnValue As SPUserSettingsProvider

returnValue = instance.GetUserSettingsProvider(providerId)
public SPUserSettingsProvider GetUserSettingsProvider(
    Guid providerId
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPUserSettingsProvider

See also

Reference

SPUserSettingsProviderManager class

SPUserSettingsProviderManager members

Microsoft.SharePoint.Administration namespace