Share via


TeamFoundationProfileService.SetUserPreferences Method

Set current user's preferences.

If property of passed in user preferences is null/empty, that property will not be updated

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetUserPreferences ( _
    requestContext As TeamFoundationRequestContext, _
    userPreferences As UserPreferences, _
    merge As Boolean _
)
public void SetUserPreferences(
    TeamFoundationRequestContext requestContext,
    UserPreferences userPreferences,
    bool merge
)
public:
void SetUserPreferences(
    TeamFoundationRequestContext^ requestContext, 
    UserPreferences^ userPreferences, 
    bool merge
)
member SetUserPreferences : 
        requestContext:TeamFoundationRequestContext * 
        userPreferences:UserPreferences * 
        merge:bool -> unit
public function SetUserPreferences(
    requestContext : TeamFoundationRequestContext, 
    userPreferences : UserPreferences, 
    merge : boolean
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationProfileService Class

Microsoft.TeamFoundation.Framework.Server Namespace