winops_accounts_manage_group
Add or remove a user from a local Windows group. Specify the group, username, and whether to add or remove.
Instructions
Add or remove a user from a local Windows group.
Return Format
{"success": bool, "group": str, "username": str, "action": str}Examples
manage_group(group="Administrators", username="jsmith", action="add")
manage_group(group="Administrators", username="jsmith", action="remove")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Local group name. | |
| action | No | add or remove. | add |
| username | Yes | User to add or remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||