Поделиться через


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(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationAuthenticationService))> _
Public NotInheritable Class TeamFoundationAccessControlService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))]
public sealed class TeamFoundationAccessControlService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))]
public ref class TeamFoundationAccessControlService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationAuthenticationService))>]
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 the default hash function. (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 Checks to see if the given identity is a service identity
Public method ProvisionServiceIdentity Provisions a service identity with the given info. 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