So are you trying to figure out the owner of a particular store? Keep in mind that some stores (eg PST) do not have an intrinsic user associated with them - it could be a standalone PST or a PST with multiple POP3/SMTP accounts delivering to that store.
You can loop through the Application.Session.Accounts
collection and check the Account.DeliveryStore
property (compare the store entry ids using Namespace.CompareEntryIDs
).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.