MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | SYNOPSIS |
Zesstra | 5481d49 | 2021-04-08 20:07:06 +0200 | [diff] [blame] | 2 | string geteuid(object|lwobject ob) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 3 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 4 | DESCRIPTION |
| 5 | Get the effective user-id of the object (mostly a wizard or |
| 6 | domain name). Standard objects cloned by this object will get |
| 7 | that userid. The effective userid is also used for checking access |
| 8 | permissions. If ob is omitted, is this_object() as default. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 9 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 10 | HISTORY |
| 11 | Since 3.2.1@47, this efun is availabe only when using euids. |
| 12 | Since 3.2.7, this efun is always available. |
Zesstra | d59c389 | 2019-11-28 20:53:39 +0100 | [diff] [blame] | 13 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 14 | SEE ALSO |
Zesstra | d59c389 | 2019-11-28 20:53:39 +0100 | [diff] [blame] | 15 | getuid(E), configure_object(E) |