Emilua API Reference system Process credentials getresuid system.getresuid Synopsis local system = require "system" system.getresuid() -> integer, integer, integer Description Returns the real UID, the effective UID, and the saved set-user-ID of the calling process, respectively. spawn getresgid