Share via


TeamFoundationAccessControlService Class

Service used to configure Access Control for Hosted TFS

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationAccessControlService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationAuthenticationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public NotInheritable Class TeamFoundationAccessControlService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public sealed class TeamFoundationAccessControlService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamFoundationAccessControlService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
type TeamFoundationAccessControlService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationAccessControlService implements ITeamFoundationService

The TeamFoundationAccessControlService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationAccessControlService

Top

Methods

  Name Description
Public method DeleteServiceIdentity Deletes the service identity given the id
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetServiceIdentityToken Retrieves an authenication token from ACS for the provided service identity information.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsServiceIdentity(TeamFoundationRequestContext, TeamFoundationIdentity) Checks to see whether the given identity is a service identity
Public methodStatic member IsServiceIdentity(TeamFoundationRequestContext, Identity)
Public method ProvisionServiceIdentity Provisions a service identity with the given information. If identityInfo is null then provision will attempt to create the default service identity for the service host If addToGroups is null, the service identity will be provisioned with membership in the service accounts group
Public method QueryServiceIdentities(TeamFoundationRequestContext, array<Guid[], Boolean) Queries service identities by ID
Public method QueryServiceIdentities(TeamFoundationRequestContext, array<String[], Boolean) Queries service identities by name
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member SymmetricSigningKeyName

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd Service shutdown logic
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Service start logic

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace