AccessRights Property

Object: PermItem
Syntax: AccessRights
Type: Long
Read/Write: Read Only
Description: This property indicates the combined rights of a file or directory.

The SAPermissionsRights can have any of the following values:

ConstantValueDescription
SANoAccess1All Access is denied.
SARead2The file can be read.
SAWrite4The file can be written.
SAExecute8The file can be executed.
SADelete16The file can be deleted.
SAPermissions32Permissions on the file can be changed.
SAOwner64Allows taking ownership of the file.
SAFull126Allows all of the above permissions (except NoAccess).
saList
(Windows 2000 only)
256Folder content list can be viewed.
saReadExecute
(Windows 2000 only)
512The file can be read and executed.
saModify
(Windows 2000 only)
1024The file can be modified.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.