Class: Ansible::Ruby::Modules::Win_user_right
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_user_right
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_user_right.rb
Overview
Add, remove or set User Rights for a group or users or groups. You can set user rights for both local and domain accounts.
Instance Method Summary collapse
-
#action ⇒ :add, ...
C(add) will add the users/groups to the existing right.,C(remove) will remove the users/groups from the existing right.,C(set) will replace the users/groups of the existing right.
-
#name ⇒ String
The name of the User Right as shown by the C(Constant Name) value from U(technet.microsoft.com/en-us/library/dd349804.aspx).,The module will return an error if the right is invalid.
-
#users ⇒ Array<String>, String
A list of users or groups to add/remove on the User Right.,These can be in the form DOMAINuser-group, [email protected] for domain users/groups.,For local users/groups it can be in the form user-group, .user-group, SERVERNAMEuser-group where SERVERNAME is the name of the remote server.,You can also add special local accounts like SYSTEM and others.
Methods inherited from Base
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
#action ⇒ :add, ...
Returns C(add) will add the users/groups to the existing right.,C(remove) will remove the users/groups from the existing right.,C(set) will replace the users/groups of the existing right.
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_user_right.rb', line 21 attribute :action |
#name ⇒ String
Returns The name of the User Right as shown by the C(Constant Name) value from U(technet.microsoft.com/en-us/library/dd349804.aspx).,The module will return an error if the right is invalid.
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_user_right.rb', line 13 attribute :name |
#users ⇒ Array<String>, String
Returns A list of users or groups to add/remove on the User Right.,These can be in the form DOMAINuser-group, [email protected] for domain users/groups.,For local users/groups it can be in the form user-group, .user-group, SERVERNAMEuser-group where SERVERNAME is the name of the remote server.,You can also add special local accounts like SYSTEM and others.
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_user_right.rb', line 17 attribute :users |