Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe current request context.
serviceOwner
Type: System.GuidThe 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
- 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.