SPUserSettingsProvider.UpdateUserLanguageSettings method

Updates user's Language Settings. This is for updating BOTH display and content languages.

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

Syntax

'Declaration
Public Sub UpdateUserLanguageSettings ( _
    providerContext As Object, _
    user As SPUser, _
    muiLanguages As String, _
    contentLanguages As String _
)
'Usage
Dim instance As SPUserSettingsProvider
Dim providerContext As Object
Dim user As SPUser
Dim muiLanguages As String
Dim contentLanguages As String

instance.UpdateUserLanguageSettings(providerContext, _
    user, muiLanguages, contentLanguages)
public void UpdateUserLanguageSettings(
    Object providerContext,
    SPUser user,
    string muiLanguages,
    string contentLanguages
)

Parameters

  • providerContext
    Type: System.Object

    The cached provider context.

  • muiLanguages
    Type: System.String

    Display languages to update with.

  • contentLanguages
    Type: System.String

    Content languages to update with.

See also

Reference

SPUserSettingsProvider class

SPUserSettingsProvider members

Microsoft.SharePoint.Administration namespace