Lines Matching defs:user
35 'user',
36 'work as this user. defaults to current CLI user',
157 $this->username = $options->getOpt('user', $this->getUser());
284 $this->error("Page $wiki_id is already locked by another user");
308 $this->error("Page $wiki_id is locked by another user");
338 * Get the current user's username from the environment
344 $user = getenv('USER');
345 if (empty($user)) {
346 $user = getenv('USERNAME');
348 return $user;
350 if (empty($user)) {
351 $user = 'admin';
353 return $user;