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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- userPreferences
Type: Microsoft.TeamFoundation.Framework.Server.UserPreferences
- merge
Type: System.Boolean
.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.