D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
UID
/
Filename :
change_privilege-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Change the current process's real and effective user ID to that specified by <em>integer</em>. Returns the new user ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.uid, Process.euid] #=> [0, 0]\n Process::UID.change_privilege(31) #=> 31\n [Process.uid, Process.euid] #=> [31, 31]\n" full_name: Process::UID::change_privilege is_singleton: true name: change_privilege params: | Process::UID.change_privilege(integer) => fixnum visibility: public