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
- providerContext
Type: System.Object
- user
Type: Microsoft.SharePoint.SPUser
Return value
Type: Microsoft.SharePoint.SPRegionalSettings