version 1.23, 2002/05/14 16:59:32
|
version 1.24, 2002/05/29 19:30:52
|
|
|
const char * serviceName, | const char * serviceName, |
Uint32 defaultPort); | Uint32 defaultPort); |
| |
static String getCurrentLoginName(); |
static String getEffectiveUserName(); |
| |
/** | /** |
This function is used to input a password with echo disabled. | This function is used to input a password with echo disabled. |
|
|
static Boolean isSystemUser(char* userName); | static Boolean isSystemUser(char* userName); |
| |
/** | /** |
When the user name is not passed as an argument, this function |
Checks whether the given user is a privileged user. |
checks whether the user running the command is a privileged user. |
|
If a user name is given this function checks whether |
|
the given user is a privileged user. |
|
| |
@param userName User name to be checked. | @param userName User name to be checked. |
|
|
@return true if the user is a privileged user, else false | @return true if the user is a privileged user, else false |
*/ | */ |
static Boolean isPrivilegedUser(const String userName = String::EMPTY); |
static Boolean isPrivilegedUser(const String userName); |
| |
/** | /** |
This function returns the privileged user name on the system. | This function returns the privileged user name on the system. |