Export (0) Print
Expand All

SecurityNamespace Class

Class to manage and enforce security for a set of AccessControlList objects.

System.Object
  Microsoft.TeamFoundation.Framework.Client.SecurityNamespace

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

public abstract class SecurityNamespace

The SecurityNamespace type exposes the following members.

  NameDescription
Protected methodSecurityNamespaceInitializes a new instance of the SecurityNamespace class.
Top

  NameDescription
Public propertyDescriptionGets the description for this security namespace.
Top

  NameDescription
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 methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasPermission(IEnumerable<String>, IdentityDescriptor, Int32, Boolean)Checks whether the specified identity descriptor has the specified permissions for the specified tokens.
Public methodHasPermission(String, IdentityDescriptor, IEnumerable<Int32>, Boolean)Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public methodHasPermission(String, IdentityDescriptor, Int32, Boolean)Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public methodHasPermission(String, IEnumerable<IdentityDescriptor>, Int32, Boolean)Checks whether the specified identity descriptors have the specified permissions for the specified token.
Public methodHasWritePermission(String, IEnumerable<Int32>)Checks whether the current user has authority to write the specified permissions.
Public methodHasWritePermission(String, Int32)Checks whether the current user has authority to write the specified permissions.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodQueryAccessControlListGets the AccessControlList objects that are associated with the specified token and identity descriptors.
Public methodQueryAccessControlListsGets the AccessControlList objects that are associated with the specified token and identity descriptors.
Public methodQueryEffectivePermissionsGets the effective permissions for the specified identity descriptor.
Public methodRemoveAccessControlEntriesRemoves all access control entries for the specified identity descriptors that exist on the AccessControlList that is associated with the specified token.
Public methodRemoveAccessControlEntryRemoves the access control entry for the specified identity descriptor that exists on the AccessControlList that is associated with the specified token.
Public methodRemoveAccessControlLists(IEnumerable<String>, Boolean)Removes the AccessControlList that is associated with the specified tokens.
Public methodRemoveAccessControlLists(String, Boolean)Removes the AccessControlList that is associated with the specified token.
Public methodRemovePermissionsRemoves the specified permissions from the existing permissions for the specified identity descriptor. If no existing AccessControlEntry is found for this descriptor, no action is taken and an empty AccessControlList is returned.
Public methodSetAccessControlEntriesSets the provided access control entries in this SecurityNamespace.
Public methodSetAccessControlEntrySets the specified AccessControlEntry in this SecurityNamespace.
Public methodSetAccessControlListSets the specified AccessControlList in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList.
Public methodSetAccessControlListsSets the specified AccessControlLists in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList.
Public methodSetInheritFlagSets a flag that states whether the AccessControlList that is associated with the specified token should inherit permissions from the parent tokens.
Public methodSetPermissionsSets the permissions for the specified identity descriptor in this SecurityNamespace.
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:
© 2015 Microsoft