getAllOSUsers() - obsolete
The function getAllOSUsers() returns all users in the current domain.
Synopsis
int getAllOSUsers(dyn_string &users[, string domain[, bool showAll]]);
Synopsis
Parameter | Description |
---|---|
&users | The Windows users of the current domain. |
domain | The domain. This parameter is optional. |
showAll | Show all users. Is not used yet. |
Return Value
int
Error
The function returns -1 in case of errors and otherwise 0.
Description
The function returns all users in the current domain.
Example
The function returns all users in the current domain.
main()
{
dyn_string users;
getAllOSUsers(users);
DebugN(users);
}
Assignment
User administration, Waiting control function
Availability
CTRL
See also
getAllOSGroups(), getCurrentOSUser(), getCurrentDomainName(), getWindowsEvents() and verifyOSUser()