Platform SDK: Exchange Server |
Contains the rights for the entity specified by IACE::ID in the form of a bit-mask.
[propget] HRESULT Rights( [out, retval] ACLRIGHTS *pVal); [propput] HRESULT Rights( [in] ACLRIGHTS newVal);
Property Rights as ACLRIGHTS
Each right is controlled by a corresponding bit in the Rights bit-mask. The ACLRIGHTS enumeration contains the integer values for all of the available rights. To enable various rights, you can either use the various Boolean properties provided on the interface, or you can set them directly by setting the Rights property to an appropriate integer bit-mask value. The most common combination of rights (bits), in the form of roles, are additionally provided in the ACLRIGHTS enumeration. This enumeration is listed in the following table.
ACLRIGHTS
Member | Value |
---|---|
RIGHTS_EDIT_OWN | 0x00000008 |
RIGHTS_EDIT_ALL | 0x00000020 |
RIGHTS_DELETE_OWN | 0x00000010 |
RIGHTS_DELETE_ALL | 0x00000040 |
RIGHTS_READ_ITEMS | 0x00000001 |
RIGHTS_CREATE_ITEMS | 0x00000002 |
RIGHTS_CREATE_SUBFOLDERS | 0x00000080 |
RIGHTS_FOLDER_OWNER | 0x00000100 |
RIGHTS_FOLDER_CONTACT | 0x00000200 |
RIGHTS_FOLDER_VISIBLE | 0x00000400 |
RIGHTS_NONE | 0x00000000 |
RIGHTS_ALL | 0x000005fb |
ROLE_OWNER | 0x000007fb |
ROLE_PUBLISH_EDITOR | 0x000004fb |
ROLE_EDITOR | 0x0000047b |
ROLE_PUBLISH_AUTHOR | 0x0000049b |
ROLE_AUTHOR | 0x0000041b |
ROLE_NONEDITING_AUTHOR | 0x00000413 |
ROLE_REVIEWER | 0x00000401 |
ROLE_CONTRIBUTOR | 0x00000402 |
ROLE_NONE | 0x00000400 |
newace.rights = &H0400 ' role none newace.FolderVisible = True