I am trying to iterate through all users to see if they belong to each group in a repository. I only see Laserfiche trustee account. How can I accomplish this?
Here is my code:
foreach (AccountInfo user in Account.EnumUsers(sess))
{
foreach (AccountInfo group in Account.EnumGroups(sess))
{
if (user.Groups.Contains(group.Name))
{
//yes logic
}
else
{
//no logic
}
}
}