RDOACE object |
RDOACE object represents an entry (Access Control Entry - ACE) in the the Access Control List (ACL) of an Exchange folder. This object along with the RDOACL object (representing the ACL list) allows to define the list of Exchange users who have access to a given folder.
Returned by:
RDOACL.Item, Add, ACEofAddressEntry
The following example logs to the default MAPI session and enumerates all users who access to the Calendar folder along with their rights
set Session =
CreateObject("Redemption.RDOSession")
for each ACE in Folder.ACL |
Derived from: IDispatch |
||
|
||
|
||
Properties |
||
|
||
MemberID |
Int64, read-only. Returns the id of the ACE entry. Corresponds to the PR_MEMBER_ID Extended MAPI property. There are two, predefined IDs: 0 (Default) and -1 (Anonymous). These entries do not have entry ids
|
|
EntryID |
The entry id of the corresponding Exchange address entry. Corresponds to the PR_MEMBER_ENTRYID Extended MAPI property.
|
|
AddressEntry |
Returns an RDOAddressEntry object corresponding to the EntryID property. If the entry id is missing (for the Default and Anonymous entries), this property returns NULL.
|
|
Name |
String, read-only. The name of the ACE entry, e.g. "Anonymous". Corresponds to the PR_MEMBER_NAME Extended MAPI property.
|
|
Rights |
Integer, read-write. The bitmask of the user rights. Each bit can be set/retrieved using the properties below. Corresponds to the PR_MEMBER_RIGHTS Extended MAPI property.
Valid values are:
RIGHTS_FREEBUSY_DETAILED = &H00001000 (Outlook 2007 / Exchange 2007
specific)
|
set Session =
CreateObject("Redemption.RDOSession")
'make sure we get back an Exchange user |
CanEditOwn |
Boolean, read-write. Corresponds to the RIGHTS_EDIT_OWN bit.
|
|
CanDeleteOwn |
Boolean, read-write. Corresponds to the RIGHTS_DELETE_OWN bit.
|
|
CanEditAll |
Boolean, read-write. Corresponds to the RIGHTS_EDIT_ALL bit.
|
|
CanDeleteAll |
Boolean, read-write. Corresponds to the RIGHTS_DELETE_ALL bit.
|
|
CanReadItems |
Boolean, read-write. Corresponds to the RIGHTS_READ_ITEMS bit.
|
|
CanCreateItems |
Boolean, read-write. Corresponds to the RIGHTS_CREATE_ITEMS bit.
|
|
CanCreateSubFolders |
Boolean, read-write. Corresponds to the RIGHTS_CREATE_SUBFOLDERS bit.
|
|
FreeBusyDetailed |
Boolean, read-write. Corresponds to the RIGHTS_FREEBUSY_DETAILED bit. Outlook 2007 / Exchange 2007 specific.
|
'Allows access to the free/busy details of the default Calendar to an Exchange user named "natalia" set Session =
CreateObject("Redemption.RDOSession")
|
FreeBusySimple |
Boolean, read-write. Corresponds to the RIGHTS_FREEBUSY_SIMPLE bit. Outlook 2007 / Exchange 2007 specific.
|
|
IsAnonymous |
Boolean, read-only. True if the entry corresponds to the anonymous user.
MemberID = -1 |
|
IsDefault |
Boolean, read-only. True if the entry corresponds to the default user.
MemberID = 0 |
|
IsFolderOwner |
Boolean, read-write. Corresponds to the RIGHTS_FOLDER_OWNER bit.
|
|
IsFolderContact |
Boolean, read-write. Corresponds to the RIGHTS_FOLDER_CONTACT bit.
|
|
IsFolderVisible |
Boolean, read-write. Corresponds to the RIGHTS_FOLDER_VISIBLE bit.
|
|
Methods |
||
|
||
Delete |
Deletes the ACE entry |
check if a given Exchange user is in the ACL list 'and remove it set Session =
CreateObject("Redemption.RDOSession") |