Share via


SPUserSettingsProvider.GetUserRegionalSettings method

Returns SPUserRegionalSettings for user. It is based on user's current RegionalSettings.

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

Syntax

'Declaration
Public Function GetUserRegionalSettings ( _
    providerContext As Object, _
    user As SPUser _
) As SPRegionalSettings
'Usage
Dim instance As SPUserSettingsProvider
Dim providerContext As Object
Dim user As SPUser
Dim returnValue As SPRegionalSettings

returnValue = instance.GetUserRegionalSettings(providerContext, _
    user)
public SPRegionalSettings GetUserRegionalSettings(
    Object providerContext,
    SPUser user
)

Parameters

Return value

Type: Microsoft.SharePoint.SPRegionalSettings

See also

Reference

SPUserSettingsProvider class

SPUserSettingsProvider members

Microsoft.SharePoint.Administration namespace