blocxx
|
#include "blocxx/BLOCXX_config.h"
#include "blocxx/String.hpp"
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Taken from RFC 1321. | |
namespace | BLOCXX_NAMESPACE::UserUtils |
Facade encapsulating OS specific user functionality. | |
Typedefs | |
typedef uid_t | BLOCXX_NAMESPACE::UserUtils::UserID |
Functions | |
String | BLOCXX_NAMESPACE::UserUtils::getEffectiveUserId () |
Get the effective user id. | |
String | BLOCXX_NAMESPACE::UserUtils::getCurrentUserName () |
String | BLOCXX_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 | BLOCXX_NAMESPACE::UserUtils::getUserId (const String &userName, bool &validUserName) |
Convert a textual username into a platform native user type. | |
Variables | |
const UserID | BLOCXX_NAMESPACE::UserUtils::INVALID_USERID = UserID(~0) |