Megosztás a következőn keresztül:


SecurityChangedNotification Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.SecurityChangedNotification

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

Syntax

'Declaration
Public Class SecurityChangedNotification
public class SecurityChangedNotification
public ref class SecurityChangedNotification
type SecurityChangedNotification =  class end
public class SecurityChangedNotification

The SecurityChangedNotification type exposes the following members.

Constructors

  Name Description
Public method SecurityChangedNotification(Guid, IEnumerable<TokenRename>) Constructor for creating a SecurityChangeNotification for the RenameToken call.
Public method SecurityChangedNotification(Guid, List<AccessControlList>) Constructor for creating a SecurityChangeNotification for the SetAccessControlLists call.
Public method SecurityChangedNotification(Guid, List<String>, Boolean) Constructor for creating a SecurityChangeNotification for the RemoveAccessControlLists call.
Public method SecurityChangedNotification(Guid, String, Boolean) Constructor for creating a SecurityChangeNotification for the SetInheritFlag call.
Public method SecurityChangedNotification(Guid, String, List<IdentityDescriptor>) Constructor for creating a SecurityChangeNotification for the RemovePermissions call.
Public method SecurityChangedNotification(Guid, String, IdentityDescriptor, Int32) Constructor for creating a SecurityChangeNotification for the RemoveExplicitPermissions call.
Public method SecurityChangedNotification(Guid, String, List<AccessControlEntry>, Boolean) Constructor for creating a SecurityChangeNotification for the SetPermissions call.
Public method SecurityChangedNotification(Guid, String, String, Boolean) Constructor for creating a SecurityChangeNotification for the RenameToken call.

Top

Properties

  Name Description
Public property AccessControlLists The access control lists that are being set. Used in the following SecurityChangeTypes: SetAccessControlLists
Public property Descriptor The descriptor this operatrion applies to. Used in the following SecurityChangeTypes: RemoveExplicitPermissions
Public property ExplicitPermissionsToRemove The permissions to remove. Used in the following SecurityChangeTypes: RemoveExplicitPermissions
Public property InheritPermissions True if the token is being set to inherit, false otherwise. Used in the following SecurityChangeTypes: SetInheritFlag
Public property Merge True if the permissions should be merged, false if they should be overwritten. Used in the following SecurityChangeTypes: SetPermissions
Public property NamespaceId The id for the security namespace that is changing. This is used for all SecurityChangeTypes
Public property Permissions The permissions for Token that are being applied. Used in the following SecurityChangeTypes: SetPermissions
Public property Recurse True if this operation will recurse. Used in the following SecurityChangeTypes: RemoveAccessControlLists
Public property RemoveAceDescriptors The identities that will have their permissions removed during a RemovePermissions call. Used in the following SecurityChangeTypes: RemoveAccessControlEntries
Public property RenameTokenDestination The rename destination for RenameTokenSource. Used in the following SecurityChangeTypes: RenameToken
Public property RenameTokens The tokens that are being renamed will be set when a call to RenameTokens is made which enables multiple tokens to be renamed in a single call. Used in the following SecurityChangeTypes
Public property RenameTokenSource The token that is being renamed to RenameTokenDestination. Used in the following SecurityChangeTypes: RenameToken
Public property RenameWillCopy True if during a rename the permissions will be copied, false if they will be moved. Used in the following SecurityChangeTypes: RenameToken
Public property SecurityChangeType Represents the type of change that security has encountered. This value determines which properties on this object are valid. SetPermissions: NamepsaceId, Token, Permissions, Merge
Public property Token The token whose permissions are being changed. Used in the following SecurityChangeTypes: SetPermissions SetInheritFlag RemoveAccessControlEntries RemoveExplicitPermissions
Public property Tokens The list of tokens that this operation affects. Used in the following SecurityChangeTypes: RemoveAccessControlLists

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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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.Server Namespace