SecurityNamespace Class

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

Inheritance Hierarchy

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

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

Syntax

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

The SecurityNamespace type exposes the following members.

Constructors

  Name Description
Protected method SecurityNamespace Initializes a new instance of the SecurityNamespace class.

Top

Properties

  Name Description
Public property Description Gets the description for this security namespace.

Top

Methods

  Name Description
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 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasPermission(IEnumerable<String>, IdentityDescriptor, Int32, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified tokens.
Public method HasPermission(String, IdentityDescriptor, IEnumerable<Int32>, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public method HasPermission(String, IdentityDescriptor, Int32, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public method HasPermission(String, IEnumerable<IdentityDescriptor>, Int32, Boolean) Checks whether the specified identity descriptors have the specified permissions for the specified token.
Public method HasWritePermission(String, IEnumerable<Int32>) Checks whether the current user has authority to write the specified permissions.
Public method HasWritePermission(String, Int32) Checks whether the current user has authority to write the specified permissions.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryAccessControlList Gets the AccessControlList objects that are associated with the specified token and identity descriptors.
Public method QueryAccessControlLists Gets the AccessControlList objects that are associated with the specified token and identity descriptors.
Public method QueryEffectivePermissions Gets the effective permissions for the specified identity descriptor.
Public method RemoveAccessControlEntries Removes all access control entries for the specified identity descriptors that exist on the AccessControlList that is associated with the specified token.
Public method RemoveAccessControlEntry Removes the access control entry for the specified identity descriptor that exists on the AccessControlList that is associated with the specified token.
Public method RemoveAccessControlLists(IEnumerable<String>, Boolean) Removes the AccessControlList that is associated with the specified tokens.
Public method RemoveAccessControlLists(String, Boolean) Removes the AccessControlList that is associated with the specified token.
Public method RemovePermissions Removes 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 method SetAccessControlEntries Sets the provided access control entries in this SecurityNamespace.
Public method SetAccessControlEntry Sets the specified AccessControlEntry in this SecurityNamespace.
Public method SetAccessControlList Sets the specified AccessControlList in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList.
Public method SetAccessControlLists Sets the specified AccessControlLists in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList.
Public method SetInheritFlag Sets a flag that states whether the AccessControlList that is associated with the specified token should inherit permissions from the parent tokens.
Public method SetPermissions Sets the permissions for the specified identity descriptor in this SecurityNamespace.
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.Client Namespace