TeamFoundationSecurityService Class

An interface for managing collections of security namespaces.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationDatabaseSettings))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(IdentityService))> _
Public NotInheritable Class TeamFoundationSecurityService _
    Implements ITeamFoundationService, IDisposable, ITeamFoundationSecurityService
[TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(IdentityService))]
public sealed class TeamFoundationSecurityService : ITeamFoundationService, 
    IDisposable, ITeamFoundationSecurityService
[TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(IdentityService))]
public ref class TeamFoundationSecurityService sealed : ITeamFoundationService, 
    IDisposable, ITeamFoundationSecurityService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(IdentityService))>]
type TeamFoundationSecurityService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
        interface ITeamFoundationSecurityService 
    end
public final class TeamFoundationSecurityService implements ITeamFoundationService, IDisposable, ITeamFoundationSecurityService

The TeamFoundationSecurityService type exposes the following members.

Methods

  Name Description
Public method CreateSecurityNamespace Creates a security namespace that is based off of the provided information.
Public method DeleteSecurityNamespace Deletes the security namespace from the collection of security namespaces.
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 GetSecurityNamespace Returns the [TeamFoundationSecurityNamespace] instance associated with the GUID. Null will be returned if the GUID does not have an associated [ITeamFoundationSecurityNamespace].
Public method GetSecurityNamespaces Returns an enumeration of all of the currently existing security [securityNamespaces].
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method RemoveIdentityACEs
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateSecurityNamespace Updates an existing security namespace. This data will be persisted.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd Perform any necessary clean-up steps.
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Perform any necessary initialization steps.

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