Reputation: 1
I program in a bespoke scripting language for a case management system, but occasionally step out to get other information. I have no admin rights and minimal server access.
I want to pull Exchange profile creation dates into the CMS to check users have been here over a year. I can’t work out the LDAP connection string. None of the PowerShell examples I have seen (dswuery, dsget, etc.) work.
I assume I should be able to do this by getting a recipient and finding the creation date, but my attempts have been unsuccessful.
Upvotes: 0
Views: 230
Reputation: 66286
You can read PR_CREATION_TIME (DASL name http://schemas.microsoft.com/mapi/proptag/0x30070040
) from the AddressEntry
object using AddressEntry.PropetyAccessor.GetProperty
.
Fot the current (Outlook profile wise) user, AddressEntry
can be retrieved from Application.Session.CurrentUser.AddressEntry
.
Upvotes: 1