Hi there,
I would like to use spaudit api to extract some documents behavior logs, if I use the sPAuditQuery.RestrictToUser() method, we need a User ID, such as sPAuditQuery.RestrictToUser(UserID). my question is how I should get user ID? currently, my method is ElevatedWeb.EnsureUser(spusername).ID --> Is it correct?? I use thePeople Picker
Thanks
Hi there, if you found my comment very helpful then please | Propose as answer | . Thanks and Regards.