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.ObjectThe cached provider context.
user
Type: Microsoft.SharePoint.SPUserThe user to update languages for.
contentLanguages
Type: System.StringContent languages to update with.