Class: Ansible::Ruby::Modules::Win_group_membership

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_group_membership.rb

Overview

Allows the addition and removal of local, service and domain users, and domain groups from a local group.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#membersArray<String>, String

Returns A list of members to ensure are present/absent from the group.,Accepts local users as .username, and SERVERNAMEusername.,Accepts domain users and groups as DOMAINusername and username@DOMAIN.,Accepts service users as NT AUTHORITYusername.,Accepts all local, domain and service user types as username, favoring domain lookups when in a domain.

Returns:

  • (Array<String>, String)

    A list of members to ensure are present/absent from the group.,Accepts local users as .username, and SERVERNAMEusername.,Accepts domain users and groups as DOMAINusername and username@DOMAIN.,Accepts service users as NT AUTHORITYusername.,Accepts all local, domain and service user types as username, favoring domain lookups when in a domain.



16
# File 'lib/ansible/ruby/modules/generated/windows/win_group_membership.rb', line 16

attribute :members

#nameString

Returns Name of the local group to manage membership on.

Returns:

  • (String)

    Name of the local group to manage membership on.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_group_membership.rb', line 12

attribute :name

#state:absent, ...

Returns Desired state of the members in the group.

Returns:

  • (:absent, :present, nil)

    Desired state of the members in the group.



20
# File 'lib/ansible/ruby/modules/generated/windows/win_group_membership.rb', line 20

attribute :state