version 1.17, 2002/02/20 23:12:04
|
version 1.18, 2002/02/23 00:27:20
|
|
|
static Boolean isSystemUser(char* userName); | static Boolean isSystemUser(char* userName); |
| |
/** | /** |
This function is used to check whether the user running the command is |
When the user name is not passed as an argument, this function |
a privileged user. On Unix implementation it checks whether the user |
checks whether the user running the command is a privileged user. |
is a root user. |
If a user name is given this function checks whether |
|
the given user is a privileged user. |
| |
@return true if the user running the command is a |
@param userName User name to be checked. |
privileged user, else false |
|
|
@return true if the user is a privileged user, else false |
*/ | */ |
static Boolean isPrivilegedUser(); |
static Boolean isPrivilegedUser(const String userName = String::EMPTY); |
| |
/** | /** |
This function is used to get the process ID of the calling process. | This function is used to get the process ID of the calling process. |