HomeManualTopicsTypesSymbols

std::geteuid

returns the effective user id

Parameters

None

Result

id: an integer describing the effective user ID

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::getegid returns the effective group ID
std::getuid returns the real user ID
std::getgid returns the real group ID