TWiki::Users
$name
- login name or wiki name
$wikiname
- optional, wikiname for created user
$nocreate
- optional, disable creation of user object for user not found
$name
, which may be either a
login name or a wiki name. If $name
is found (either in the list
of login names or the list of wiki names) the corresponding
user object is returned. In this case $wikiname
is ignored.
If they are not found, and $nocreate
is true, then return undef.
If $nocreate
is false, then a user object is returned even if
the user is not known.
If $nocreate
is false, and no $wikiname
is given, then the
$name
is used for both login name and wiki name.
If nocreate is off, then a default user will be created with their wikiname
set the same as their login name. This user/wiki name pair can be overridden
by a later createUser call when the correct wikiname is known, if necessary.
USER REFERENCES
ADMIN MAINTENANCE
CATEGORIES WEBS PERSONAL |
Copyright © by the contributing authors. Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at Ideas, requests, problems regarding Bernstein? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUsersDotPm |