ITeamFoundationIdentityService.GetPreferredEmailAddress Method (TeamFoundationRequestContext, Guid)
Gets the preferred email address for an identity. This address has been confirmed by the user to be the valid email address. If the custom email address is not confirmed, returns the default email address.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function GetPreferredEmailAddress ( _
requestContext As TeamFoundationRequestContext, _
teamFoundationId As Guid _
) As String
string GetPreferredEmailAddress(
TeamFoundationRequestContext requestContext,
Guid teamFoundationId
)
String^ GetPreferredEmailAddress(
TeamFoundationRequestContext^ requestContext,
Guid teamFoundationId
)
abstract GetPreferredEmailAddress :
requestContext:TeamFoundationRequestContext *
teamFoundationId:Guid -> string
function GetPreferredEmailAddress(
requestContext : TeamFoundationRequestContext,
teamFoundationId : Guid
) : String
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamFoundationId
Type: System.Guid
Return Value
Type: System.String
Returns 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.
See Also
Reference
ITeamFoundationIdentityService Interface