PartialPermissionSetForwarderBase Class

This is a base class for forwarding permissions from a flat namespace to a namespace that derives only a subset of its permissions from the source namespace.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.PartialPermissionSetForwarderBase

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

Syntax

'Declaration
Public MustInherit Class PartialPermissionSetForwarderBase
public abstract class PartialPermissionSetForwarderBase
public ref class PartialPermissionSetForwarderBase abstract
[<AbstractClass>]
type PartialPermissionSetForwarderBase =  class end
public abstract class PartialPermissionSetForwarderBase

The PartialPermissionSetForwarderBase type exposes the following members.

Constructors

  Name Description
Protected method PartialPermissionSetForwarderBase

Top

Properties

  Name Description
Protected property SourcePermissionsToForward The set of permissions we should forward from source to target.
Protected property StoreSourcePermissions Override this to return false if the source permissions should not be stored in the source namespace.

Top

Methods

  Name Description
Protected method DetermineTargetPermissions Returns the mapped framework permissions for the source permissions.
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.)
Protected method GetTargetNamespace The target security namespace to forward the permissions to.
Protected method GetTargetToken Returns the mapped target token from the source token. Should return null if no mapping exists.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveAccessControlLists Removes the ACL that forms this namespace. This really should never be called but if it were it would mean that all of the GenericRead and GenericWrite permissions should be removed also.
Public method RemovePermissions(TeamFoundationRequestContext, NotificationType, String, IEnumerable<IdentityDescriptor>) Removes the permissions from the framework token
Public method RemovePermissions(TeamFoundationRequestContext, NotificationType, String, IdentityDescriptor, Int32) If this is the GenericRead or GenericWrite permission against the NAMESPACE token then remove the bits from the framework namespace.
Public method RenameToken
Public method SetAccessControlLists For the source ACL set the source permissions in the target if they are being set.
Public method SetInheritFlag
Public method SetPermissions
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