PermissionChange Class
Represents a permission change.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Client.SecurityChange
Microsoft.TeamFoundation.VersionControl.Client.PermissionChange
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
Public NotInheritable Class PermissionChange _
Inherits SecurityChange
public sealed class PermissionChange : SecurityChange
public ref class PermissionChange sealed : public SecurityChange
[<Sealed>]
type PermissionChange =
class
inherit SecurityChange
end
public final class PermissionChange extends SecurityChange
The PermissionChange type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PermissionChange | Initializes a new PermissionChange instance. |
Top
Properties
Name | Description | |
---|---|---|
AllGlobalLocalizedPermissions | Gets an array of all global localized permissions. | |
AllGlobalPermissions | Gets an array of all global permissions. | |
AllItemPermissions | Gets an array of all item permissions. | |
AllLocalizedItemPermissions | Gets an array of all localized item permissions. | |
Allow | Gets or sets the array of allow permissions for the identity. | |
Deny | Gets or sets the deny permissions for the identity. | |
IdentityName | Gets or sets the identity that holds the permission. | |
Item | Gets or sets the path of the item that belongs to this SecurityChange. (Inherited from SecurityChange.) | |
Remove | Gets or sets the array of permissions to remove. |
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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Creates a user-readable string that describes the properties of a PermissionChange object. (Overrides SecurityChange.ToString().) |
Top
Fields
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.