This documentation is archived and is not being maintained.

PartialPermissionSetNamespaceExtension Class

This class is meant to work together with the ISecurityNamespaceExtension interface to allow for easily implementing the HasPermission, QueryPermissions and QueryEffectivePermissions calls for namespaces that forward a partial set of their permissions to another namespace.

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)

public abstract class PartialPermissionSetNamespaceExtension : DefaultSecurityNamespaceExtension

The PartialPermissionSetNamespaceExtension type exposes the following members.

  NameDescription
Public propertyAlwaysAllowAdministratorsFlag that determines whether namespace administrators always have the implicit right to update the security namespace. (Inherited from DefaultSecurityNamespaceExtension.)
Public propertySecurityNamespaceThe security namespace this extension is for. (Inherited from DefaultSecurityNamespaceExtension.)
Public propertySourcePermissionsForwardedThe permissions from the source namespace that are forwarded to the target namespace.
Top

  NameDescription
Public methodCheckReadPermissionThe default implementation of CheckReadPermission, which calls HasReadPermission on the provided token. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodCheckWritePermissionThe default implementation of CheckWritePermission, which calls HasWritePermission on the provided token. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodDetermineSourcePermissionsDetermines the source permissions that map from the target permissions.
Public methodDetermineSourceTokenDetermines the source token that corresponds to the target token. If no token mapping applies, then null should be returned.
Public methodDetermineTargetPermissionsDetermines the target permissions that map from the source permissions.
Public methodDetermineTargetTokenDetermines the target token that corresponds to the source token. If no token mapping applies, null should be returned.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLocalizedActionDisplayNameReturns null for all bits. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodGetTargetNamespaceThe target namespace to read the forwarded permissions from.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHandleIncomingTokenThe default implementation of HandleIncomoningToken, which just returns the passed in securityToken. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodHandleOutgoingTokenThe default implementation of HandleOutgoingToken which just returns the passed in securityToken. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodHasPermission (Overrides DefaultSecurityNamespaceExtension.HasPermission(TeamFoundationRequestContext, String, Int32, Int32, Int32, Boolean).)
Public methodHasReadPermissionThe default implementation of HasReadPermission, which checks to see whether the caller has ReadPermission on the provided token. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodHasWritePermissionThe default implementation of HasWritePermission, which checks to see whether the caller has WritePermission on the provided token. (Inherited from DefaultSecurityNamespaceExtension.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodQueryEffectivePermissions (Overrides DefaultSecurityNamespaceExtension.QueryEffectivePermissions(TeamFoundationRequestContext, String, IdentityDescriptor, Int32).)
Public methodQueryPermissions (Overrides DefaultSecurityNamespaceExtension.QueryPermissions(TeamFoundationRequestContext, String, IEnumerable<IdentityDescriptor>, Boolean, Boolean, IEnumerable<AccessControlList>).)
Public methodThrowAccessDeniedExceptionThe default implementation of ThrowAccessDeniedException which throws the generic AccessCheckException. (Inherited from DefaultSecurityNamespaceExtension.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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