Share via


SPUserSettingsProvider.UpdateUserSettingsProperties method

Update single user's settings properties. Passing arrays for better save performance for provider.

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

Syntax

'Declaration
Protected MustOverride Function UpdateUserSettingsProperties ( _
    providerContext As Object, _
    user As SPUser, _
    usProperty As SPUserSettingsProperty(), _
    values As Object() _
) As Boolean
'Usage
Dim providerContext As Object
Dim user As SPUser
Dim usProperty As SPUserSettingsProperty()
Dim values As Object()
Dim returnValue As Boolean

returnValue = Me.UpdateUserSettingsProperties(providerContext, _
    user, usProperty, values)
protected abstract bool UpdateUserSettingsProperties(
    Object providerContext,
    SPUser user,
    SPUserSettingsProperty[] usProperty,
    Object[] values
)

Parameters

  • usProperty
    Type: []
  • values
    Type: []

Return value

Type: System.Boolean

See also

Reference

SPUserSettingsProvider class

SPUserSettingsProvider members

Microsoft.SharePoint.Administration namespace