content.gif menu.gif basics.gif

getAllOSGroups()

The function getAllOSGroups() returns all groups in the current domain.

Synopsis

int getAllOSGroups(dyn_string &groups, [string domain]);        

 

Parameters

Parameter

Meaning

&groups

The groups of the current domain are returned with this parameter.

domain

The domain. This parameter is optional.

Return value

int

Error

The function returns -1 in case of errors and otherwise 0.

Description

The function getAllOSGroups() returns all groups in the current domain.

example.gifExample

The function returns all groups in the current domain.

 

 main()
{
dyn_string groups;
int retVal;
retVal=getAllOSGroups(groups);
DebugN(groups);
}

Assignment

User administration, waiting control function

Availability

UI, CTRL

See also

getAllOSUsers(), getCurrentOSUser(), getCurrentDomainName(), getWindowsEvents() and verifyOSUser()

 

page_top.gif

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved