Partager via


DefaultSecurityNamespaceExtension Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.DefaultSecurityNamespaceExtension
    Microsoft.TeamFoundation.Framework.Server.PartialPermissionSetNamespaceExtension

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

Syntax

'Declaration
Public Class DefaultSecurityNamespaceExtension _
    Implements ISecurityNamespaceExtension
public class DefaultSecurityNamespaceExtension : ISecurityNamespaceExtension
public ref class DefaultSecurityNamespaceExtension : ISecurityNamespaceExtension
type DefaultSecurityNamespaceExtension =  
    class 
        interface ISecurityNamespaceExtension 
    end
public class DefaultSecurityNamespaceExtension implements ISecurityNamespaceExtension

The DefaultSecurityNamespaceExtension type exposes the following members.

Constructors

  Name Description
Public method DefaultSecurityNamespaceExtension

Top

Properties

  Name Description
Public property AlwaysAllowAdministrators Flag that determines whether namespace administrators always have the implicit right to update the security namespace.
Public property SecurityNamespace The security namespace this extension is for.

Top

Methods

  Name Description
Public method CheckReadPermission The default implementation of CheckReadPermission, which calls HasReadPermission on the provided token.
Public method CheckWritePermission The default implementation of CheckWritePermission, which calls HasWritePermission on the provided token.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocalizedActionDisplayName Returns null for all bits.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HandleIncomingToken The default implementation of HandleIncomoningToken, which just returns the passed in securityToken.
Public method HandleOutgoingToken The default implementation of HandleOutgoingToken which just returns the passed in securityToken.
Public method HasPermission The default implementation of HasPermission, which just returns the preliminary decision.
Public method HasReadPermission The default implementation of HasReadPermission, which checks to see whether the caller has ReadPermission on the provided token.
Public method HasWritePermission The default implementation of HasWritePermission, which checks to see whether the caller has WritePermission on the provided token.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryEffectivePermissions Returns the permissions passed in.
Public method QueryPermissions The defualt implementation of QueryPermissions which simply returns the prliminaryACLs.
Public method ThrowAccessDeniedException The default implementation of ThrowAccessDeniedException which throws the generic AccessCheckException.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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