()
| 349 | } |
| 350 | |
| 351 | func exportCurrentGroups() { |
| 352 | if groups == nil { |
| 353 | updateLog("An object was not queried yet", "red") |
| 354 | return |
| 355 | } |
| 356 | |
| 357 | exportMap := make(map[string]any) |
| 358 | exportMap["Groups"] = groups |
| 359 | exportMap["DN"] = objectDN |
| 360 | exportMap["Query"] = queryObject |
| 361 | exportMap["MaxDepth"] = maxDepth |
| 362 | |
| 363 | writeDataExport(exportMap, "groups", "object_groups") |
| 364 | } |
| 365 | |
| 366 | func exportCurrentMembers() { |
| 367 | if members == nil { |
no test coverage detected