Hello everyone!
I'm rewriting a utility I had for Version 7 in Version 9 code. (Using VB and LFSO, mostly because I want to re-use some of the code I wrote last time, if possible.)
This tool walks through a repository and depending on the user selection it outputs various security items. For example, you can use it to list all the users of the repository with their privileges. Or, have it crawl through all entries and report back each of the Entry Rights. I found this great for documentation, troubleshooting, and sending to my users to verify their security.
Well, while rewriting for V9 I'm hitting a bit of a snag dealing with windows trustees. I can get them and list them, i.e.
Dim TrustedAccounts As LFGrantedDomainAccountCollection = _ db.TrustedDomainAccounts For i As Integer = 1 To TrustedAccounts.Count Console.WriteLine(TrustedAccounts.Item(i)) Next
But... .Item() only gives a string of the windows account name.
For the LF accounts I can look at LFUser.FeatureRight() to see if that account has a specific right, for example, but I don't see the equivalent for Windows Trustees.
So... Is there a way to get the rights, etc. for a Windows Trustee?
Thanks in advance