Method | Description | |
---|---|---|
GetAccessMask ( ) : int |
Returns the access mask accociated with this ACE. Returns the access mask accociated with this ACE. Use the constants for FILE_READ_DATA, FILE_WRITE_DATA, READ_CONTROL, GENERIC_ALL, etc with bitwise operators to determine which bits of the mask are on or off. |
|
GetApplyToText ( ) : string |
Returns the 'Apply To' text for inheritance of ACEs on directories such as 'This folder, subfolder and files'. Returns the 'Apply To' text for inheritance of ACEs on directories such as 'This folder, subfolder and files'. For files the text is always 'This object only'. |
|
GetFlags ( ) : int |
Returns the flags for this ACE. Returns the flags for this ACE. The isInherited() method checks the FLAGS_INHERITED bit in these flags. |
|
GetSid ( ) : |
Return the SID associated with this ACE. Return the SID associated with this ACE. |
|
IsAllow ( ) : bool |
Returns true if this ACE is an allow ACE and false if it is a deny ACE. Returns true if this ACE is an allow ACE and false if it is a deny ACE. |
|
IsInherited ( ) : bool |
Returns true if this ACE is an inherited ACE and false if it is a direct ACE. Returns true if this ACE is an inherited ACE and false if it is a direct ACE. Note: For reasons not fully understood, FLAGS_INHERITED may not be set within all security descriptors even though the ACE was in face inherited. If an inherited ACE is added to a parent the Windows ACL editor will rebuild all children ACEs and set this flag accordingly. |
|
ToString ( ) : string |
Return a string represeting this ACE. Return a string represeting this ACE. Note: This function should probably be changed to return SDDL fragments but currently it does not. |
Method | Description | |
---|---|---|
AppendCol ( |
||
Decode ( byte buf, int bi ) : int |