Last post Jun 02, 2015 02:37 AM by Angie xu - MSFT
May 27, 2015 09:44 AM|Horizon|LINK
I have an inherited program that uses the Directory Searcher with LDAP query and ANR Matching. We use the property userAccountControl and get back a collection with a value that is parsed to an INT and tells us if the account is disabled or not. We use
the LDAP to eventually get the email address of the user, standard practice. I have a customer that uses shared mailboxes applied from the blog entry - http://letsexchange.blogspot.com/2009/06/exchange-shared-mailboxes.html
This is a process of using the powershell to create a mailbox with an AD account (on exchange 2010) that eventually disables the ad user. So the above code no longer pulls back the user because the account is disabled. What i want to know is how with an
LDAP query or any property am I able to tell that an account is that of a shared mailbox and I can pull it back but still not pull back normal disabled users? It's an email application that needs to pull from AD a shared mailbox, when I use the OWA I hit
the TO button and I get the shared mailbox, so I assume OWA is not using LDAP to get back mailboxes ;D
Any ideas to point me in the right direction?
Jun 02, 2015 02:37 AM|Angie xu - MSFT|LINK
Welcome to asp.net forum.
What i want to know is how with an LDAP query or any property am I able to tell that an account is that of a shared mailbox and I can pull it back but still not pull back normal disabled users?
This will helps you:
Find Mail/Mailbox-Enabled Users in the Active Directory
You can also consider getting help from Exchange Server forum, many Exchange experts can help you.