SPUser.UpdateUserSettings method
Updates a user's settings from external SPRegionalSettings and SPLanguageSettings objects.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub UpdateUserSettings ( _
regionalSettings As SPRegionalSettings, _
languageSettings As SPLanguageSettings _
)
'Usage
Dim instance As SPUser
Dim regionalSettings As SPRegionalSettings
Dim languageSettings As SPLanguageSettings
instance.UpdateUserSettings(regionalSettings, _
languageSettings)
public void UpdateUserSettings(
SPRegionalSettings regionalSettings,
SPLanguageSettings languageSettings
)
Parameters
regionalSettings
Type: Microsoft.SharePoint.SPRegionalSettingsAn SPRegionalSettings object for updating the user.
languageSettings
Type: Microsoft.SharePoint.SPLanguageSettingsAn SPLanguageSettings object for updating the user.