ITeamFoundationIdentityService.SetPreferredEmailAddress Method
Set the preferred email address current user.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Sub SetPreferredEmailAddress ( _
requestContext As TeamFoundationRequestContext, _
preferredEmailAddress As String _
)
void SetPreferredEmailAddress(
TeamFoundationRequestContext requestContext,
string preferredEmailAddress
)
void SetPreferredEmailAddress(
TeamFoundationRequestContext^ requestContext,
String^ preferredEmailAddress
)
abstract SetPreferredEmailAddress :
requestContext:TeamFoundationRequestContext *
preferredEmailAddress:string -> unit
function SetPreferredEmailAddress(
requestContext : TeamFoundationRequestContext,
preferredEmailAddress : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- preferredEmailAddress
Type: System.String
.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.