SPUserSettingsProvider.UpdateUserContentLanguageSettings method

Updates user's Content Language Settings.

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

Syntax

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

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

Parameters

  • providerContext
    Type: System.Object

    The cached provider context.

  • contentLanguages
    Type: System.String

    Content languages to update with.

See also

Reference

SPUserSettingsProvider class

SPUserSettingsProvider members

Microsoft.SharePoint.Administration namespace