Static Public Member Functions | List of all members
User Struct Referencefinal

Utilities for accessing user information. More...

#include <User.hpp>

Static Public Member Functions

static Resource::File getHomeDirectory ()
 Get the home directory of the user running the process. More...
 
static std::string getUserName ()
 Get the name of the user running the process. More...
 

Detailed Description

Utilities for accessing user information.

Member Function Documentation

◆ getHomeDirectory()

static Resource::File getHomeDirectory ( )
inlinestatic

Get the home directory of the user running the process.

Exceptions
NotFoundExceptionif the home directory could not be located

◆ getUserName()

static std::string getUserName ( )
inlinestatic

Get the name of the user running the process.


The documentation for this struct was generated from the following file: