Export (0) Print
Expand All

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.


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

public abstract class PartialPermissionSetForwarderBase

The PartialPermissionSetForwarderBase type exposes the following members.

Protected propertySourcePermissionsToForwardThe set of permissions we should forward from source to target.
Protected propertyStoreSourcePermissionsOverride this to return false if the source permissions should not be stored in the source namespace.

Protected methodDetermineTargetPermissionsReturns the mapped framework permissions for the source permissions.
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.)
Protected methodGetTargetNamespaceThe target security namespace to forward the permissions to.
Protected methodGetTargetTokenReturns the mapped target token from the source token. Should return null if no mapping exists.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveAccessControlListsRemoves 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 methodRemovePermissions(TeamFoundationRequestContext, NotificationType, String, IEnumerable<IdentityDescriptor>)Removes the permissions from the framework token
Public methodRemovePermissions(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 methodRenameToken
Public methodSetAccessControlListsFor the source ACL set the source permissions in the target if they are being set.
Public methodSetInheritFlag
Public methodSetPermissions
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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