Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

ENUMLOCALGROUP

action

Enumerates the local groups of which the current user is a member.

syntax

ENUMLOCALGROUP (index, "source")

parameter

Index

A numeric value representing the group whose name you want to discover (where 0 is the first subkey).

Source

Optional string value representing the server or domain whose local groups you want to query.

returns

String

Local group name

Error code

Function failed

example

$Index = 0

DO

    $Group = ENUMLOCALGROUP($Index)

UNTIL Len($Group) = 0

- Or -

$Index = 0

DO

    $Group = ENUMLOCALGROUP($Index, "\\MyServer")

UNTIL Len($Group) = 0