seteuid

ds2.1.1/lib/doc/efun/all/seteuid · 568 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

seteuid - set the effective user id (euid) of an object

int seteuid( string str );

This efun is only available if PACKAGE_UIDS is compiled in.

Set effective uid to 'str'.  valid_seteuid() in master.c controls which
values the euid of an object may be set to.

When this value is 0, then the current object's uid can be changed by
export_uid(), and only then.

But, when the value is 0, no objects can be loaded or cloned by this object.

See also:
 export_uid,
 getuid,
 geteuid,
 valid_seteuid

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571