Condividi tramite


ITeamFoundationLocationService.GetAccessMappings Method

Gets all of the access mappings in the current context.

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

Syntax

'Declaration
Function GetAccessMappings ( _
    requestContext As TeamFoundationRequestContext, _
    serviceOwner As Guid _
) As IEnumerable(Of AccessMapping)
IEnumerable<AccessMapping> GetAccessMappings(
    TeamFoundationRequestContext requestContext,
    Guid serviceOwner
)
IEnumerable<AccessMapping^>^ GetAccessMappings(
    TeamFoundationRequestContext^ requestContext, 
    Guid serviceOwner
)
abstract GetAccessMappings : 
        requestContext:TeamFoundationRequestContext * 
        serviceOwner:Guid -> IEnumerable<AccessMapping> 
function GetAccessMappings(
    requestContext : TeamFoundationRequestContext, 
    serviceOwner : Guid
) : IEnumerable<AccessMapping>

Parameters

  • serviceOwner
    Type: System.Guid

    The service owner should be Guid.Empty if you are targetting the current service's location service. If you want to target a remote service's location service. This should be the Guid of the service. Use Microsoft.VisualStudio.Services.Common.ServiceOwners

Return Value

Type: System.Collections.Generic.IEnumerable<AccessMapping>
All of the access mappings in the system.

.NET Framework Security

See Also

Reference

ITeamFoundationLocationService Interface

Microsoft.TeamFoundation.Framework.Server Namespace