../pvss.htm menu.gif basics.gif

getOSGroups()

Returns an array containing the attributes of all groups of a domain (no local groups).

Synopsis

dyn_mapping getOSGroups();

Parameters

Return value

The function returns an array containing the attributes of all groups of a domain.

Description

Returns an array containing the attributes of all groups of a domain (no local groups). The attributes are saved in a mapping with the following keys:
"Name"
: Name of the group
"Comment"
: Description of the group
"OSID"
: Operating system ID of the group

"Comment"
; bears a meaning only under Windows.

"OSID" may return another value for Unix systems than for Windows systems in an ActiveDirectory environment since Unix (for example, Samba) maps the Windows specific ID (SID) into a Unix specific ID (unsigned).

IconExample

The following example,returns an array containing the attributes of all groups of a domain

main()
{
dyn_mapping m;

  m = getOSGroups();
  DebugN("OS groups", m);
}

 

Member of

User administration

Availability

UI

See also

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved