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 | |
---|---|---|
SecurityNamespace | Initializes a new instance of the SecurityNamespace class. |
Top
Properties
Name | Description | |
---|---|---|
Description | Gets the description for this security namespace. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasPermission(IEnumerable<String>, IdentityDescriptor, Int32, Boolean) | Checks whether the specified identity descriptor has the specified permissions for the specified tokens. | |
HasPermission(String, IdentityDescriptor, IEnumerable<Int32>, Boolean) | Checks whether the specified identity descriptor has the specified permissions for the specified token. | |
HasPermission(String, IdentityDescriptor, Int32, Boolean) | Checks whether the specified identity descriptor has the specified permissions for the specified token. | |
HasPermission(String, IEnumerable<IdentityDescriptor>, Int32, Boolean) | Checks whether the specified identity descriptors have the specified permissions for the specified token. | |
HasWritePermission(String, IEnumerable<Int32>) | Checks whether the current user has authority to write the specified permissions. | |
HasWritePermission(String, Int32) | Checks whether the current user has authority to write the specified permissions. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
QueryAccessControlList | Gets the AccessControlList objects that are associated with the specified token and identity descriptors. | |
QueryAccessControlLists | Gets the AccessControlList objects that are associated with the specified token and identity descriptors. | |
QueryEffectivePermissions | Gets the effective permissions for the specified identity descriptor. | |
RemoveAccessControlEntries | Removes all access control entries for the specified identity descriptors that exist on the AccessControlList that is associated with the specified token. | |
RemoveAccessControlEntry | Removes the access control entry for the specified identity descriptor that exists on the AccessControlList that is associated with the specified token. | |
RemoveAccessControlLists(IEnumerable<String>, Boolean) | Removes the AccessControlList that is associated with the specified tokens. | |
RemoveAccessControlLists(String, Boolean) | Removes the AccessControlList that is associated with the specified token. | |
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. | |
SetAccessControlEntries | Sets the provided access control entries in this SecurityNamespace. | |
SetAccessControlEntry | Sets the specified AccessControlEntry in this SecurityNamespace. | |
SetAccessControlList | Sets the specified AccessControlList in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList. | |
SetAccessControlLists | Sets the specified AccessControlLists in this SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList. | |
SetInheritFlag | Sets a flag that states whether the AccessControlList that is associated with the specified token should inherit permissions from the parent tokens. | |
SetPermissions | Sets the permissions for the specified identity descriptor in this SecurityNamespace. | |
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.