seph
users returns roaming users, but user_groups does not return their memberships in local groups.
I remember we didn’t want to fetch all the remote groups and memberships, but I don’t remember if there’s a way to get roaming users in local groups. Does this this ring a bell for anyone?Stefano Bonicatti
10/25/2024, 3:36 PMuser_groups?
There's logging if the NetUserGetLocalGroups API fails. But it could also be that that function won't return any groups for roaming users, not too sure.seph
Local in NetUserGetLocalGroups that it’s intentionalseph
NetUserGetLocalGroups succeeds.seph
Stefano Bonicatti
10/25/2024, 3:47 PMfrom theWell but the local part is for the groups, so I would expect that it would return the local groups any user passed to it is member of.inLocalthat it’s intentionalNetUserGetLocalGroups
seph
Stefano Bonicatti
10/25/2024, 6:30 PMNetUserGetLocalGroups works with usernames. The table uses all the usernames that the users table has basically.