Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
virtual void SetUserPreferences(
TeamFoundationRequestContext^ requestContext,
UserPreferences^ userPreferences,
bool merge
) sealed
abstract SetUserPreferences :
requestContext:TeamFoundationRequestContext *
userPreferences:UserPreferences *
merge:bool -> unit
override SetUserPreferences :
requestContext:TeamFoundationRequestContext *
userPreferences:UserPreferences *
merge:bool -> unit
public final function SetUserPreferences(
requestContext : TeamFoundationRequestContext,
userPreferences : UserPreferences,
merge : boolean
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- userPreferences
Type: Microsoft.TeamFoundation.Framework.Server.UserPreferences
- merge
Type: System.Boolean
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.