export_uid() - set the uid of another object
int export_uid( object ob );
Set the uid of <ob> to the effective uid of this_object(). It is only possible when <ob> has an effective uid of 0.
this_object(3), seteuid(3), getuid(3), geteuid(3), previous_object(3), valid_seteuid(4)