HomeManualTopicsTypesSymbols

std::getuid

returns the real user ID

Parameters

None

Result

id: an integer describing the real user ID

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::getegid returns the effective group ID
std::geteuid returns the effective user id
std::getgid returns the real group ID