method

setuid

ruby latest stable - Class: Process::Sys
setuid(p1)
public

Set the user ID of the current process to user. Not available on all platforms.