You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. seealso::
:ref:`community.windows.win_domain_user_module`
The official documentation on the **community.windows.win_domain_user** module.
:ref:`community.windows.win_domain_group_module`
The official documentation on the **community.windows.win_domain_group** module.
- name: Add a domain user/group to a domain groupcommunity.windows.win_domain_group_membership:
name: Foomembers:
- Barstate: present
- name: Remove a domain user/group from a domain groupcommunity.windows.win_domain_group_membership:
name: Foomembers:
- Barstate: absent
- name: Ensure only a domain user/group exists in a domain groupcommunity.windows.win_domain_group_membership:
name: Foomembers:
- Barstate: pure
- name: Add a computer to a domain groupcommunity.windows.win_domain_group_membership:
name: Foomembers:
- DESKTOP$state: present
- name: Add a domain user/group from another Domain in the multi-domain forest to a domain groupcommunity.windows.win_domain_group_membership:
domain_server: DomainAAA.cloudname: GroupinDomainAAAmembers:
- DomainBBB.cloud\UserInDomainBBBstate: Present