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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- id
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Services.Profile.UserTermsOfService
.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.