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

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 the default hash function. (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 Remove ACEs of supplied identities
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