Delen via


IProfileService.GetAcceptedTermsOfService Method

Get Terms of Service information that relates to the user.

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

Syntax

'Declaration
Function GetAcceptedTermsOfService ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid _
) As UserTermsOfService
UserTermsOfService GetAcceptedTermsOfService(
    TeamFoundationRequestContext requestContext,
    Guid id
)
UserTermsOfService^ GetAcceptedTermsOfService(
    TeamFoundationRequestContext^ requestContext, 
    Guid id
)
abstract GetAcceptedTermsOfService : 
        requestContext:TeamFoundationRequestContext * 
        id:Guid -> UserTermsOfService
function GetAcceptedTermsOfService(
    requestContext : TeamFoundationRequestContext, 
    id : Guid
) : UserTermsOfService

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Profile.UserTermsOfService

.NET Framework Security

See Also

Reference

IProfileService Interface

Microsoft.VisualStudio.Services.Profile Namespace