Skip to content

Latest commit

 

History

History
77 lines (73 loc) · 2.2 KB

UserGroups.md

File metadata and controls

77 lines (73 loc) · 2.2 KB

UserGroups

Add-GuacUserGroupConnection

Add-GuacUserGroupConnection -DataSource mysql -ConnectionId 52 -Group "test"

Add-GuacUserGroupMember

Add-GuacUserGroupMember -DataSource mysql -Member "john.doe" -Group "test"

Add-GuacUserGroupPermission

Add-GuacUserGroupPermission -DataSource mysql -Group "test" -Permission "READ"

Get-GuacUserGroup

Get-GuacUserGroup -DataSource mysql -Group test

Get-GuacUserGroups

Get-GuacUserGroups -DataSource mysql

New-GuacUserGroup

$Parameters = @{
    "identifier"= "Parent"
    "attributes"= @{
      "disabled"= ""
    }
}
New-GuacUserGroup -DataSource mysql -Parameters $Parameters

Remove-GuacUserGroup

Remove-GuacUserGroup -DataSource mysql -Group "Parent"

Remove-GuacUserGroupConnection

Remove-GuacUserGroupConnection -DataSource mysql -ConnectionId 52 -Group "test"

Remove-GuacUserGroupMember

Remove-GuacUserGroupMember -DataSource mysql -Member "john.doe" -Group "test"

Remove-GuacUserGroupPermission

Remove-GuacUserGroupPermission -DataSource mysql -Group "test" -Permission "ADMINISTER"

Update-GuacUserGroup

$Parameters = @{
    "identifier"= "test"
    "attributes"= @{
      "disabled"= "true"
    }
}

Update-GuacUserGroup -DataSource mysql -Parameters $Parameters -Group "test"

Update-GuacUserGroupParent

Update-GuacUserGroupParent -DataSource mysql -Parent "Parent" -Children "test"