User group membership

Nick B 361 Reputation points
2022-12-05T16:16:10.38+00:00

Where are user "Member Of" registry entries stored? I need to add some manually in registry, cannot use console

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
367 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Philippe Levesque 5,681 Reputation points MVP
    2022-12-05T16:47:19.527+00:00

    Hi

    Does it's a group part of a Azure AD / Active Directory or local group ?

    If you can't use the console I suggest to run a script, in both case if local or ad/azure ad;

    Something like; net localgroup GroupName [username] /add for local's group.

    In powershell use the Add-ADGroupMember for AD.

    In powershell use the Add-AzureADGroupMember for AzureAD.


  2. Nick B 361 Reputation points
    2022-12-05T19:15:31.037+00:00

    It is active directory, but it does not show up.
    How do I see which it is currently "Member of" with command if that's possible?
    I can list current groups to add to user by doing "net localgroup"
    When I just add username directory which is of Active directory while it does not show up in console from C:\users[username] which shows up there with username while not showing up in computer management under users section since it is not my domain and is remote school account I do net localgroup "Performance log users" [username from c:\users\ which is the active direcotry" /add and wala it says successful, but to make sure can I see what it is currently member of?