#include "OW_config.h"
#include "OW_String.hpp"
Include dependency graph for OW_UserUtils.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::UserUtils |
Typedefs | |
typedef uid_t | OW_NAMESPACE::UserUtils::UserID |
Functions | |
String | OW_NAMESPACE::UserUtils::getEffectiveUserId () |
Get the effective user id. | |
String | OW_NAMESPACE::UserUtils::getCurrentUserName () |
String | OW_NAMESPACE::UserUtils::getUserName (UserID uid, bool &success) |
If the username is invalid, or if getUserName() fails for any other reason, 'success' will be set to false. | |
UserID | OW_NAMESPACE::UserUtils::getUserId (const String &userName, bool &validUserName) |
Convert a textual username into a platform native user type. | |
Variables | |
const UserID | OW_NAMESPACE::UserUtils::INVALID_USERID = ~0 |