GNHLUG
>
TWiki Web
>
TWikiUsersHtPasswdUserDotPm
(2011-08-21,
TWikiContributor
)
(raw view)
E
dit
A
ttach
---+ Package =TWiki::Users::HtPasswdUser= Support for htpasswd and htdigest format password files. Subclass of [[TWikiUsersPasswordDotPm][ =TWiki::Users::Password= ]]. See documentation of that class for descriptions of the methods of this class. %TOC% ---++ ObjectMethod *finish* <tt>()</tt> Break circular references. ---++ ObjectMethod *readOnly* <tt>() -> boolean</tt> returns true if the password file is not currently modifyable ---++ ObjectMethod *getMustChangePassword* <tt>($cUID) -> $flag</tt> Returns 1 if the $cUID must change the password, else 0. Returns undef if $cUID not found. ---++ ObjectMethod *getUserData* <tt>($cUID) -> $dataRef</tt> Return a reference to an array of hashes with user data, used to manage users. Each item is a hash with: * ={name}= - name of field, such as "email" * ={title}= - title of field, such as "E-mail" * ={value}= - value of field, such as "jimmy@example.com" * ={type}= - type of field: =text=, =password=, =checkbox=, =label= * ={size}= - size of field, such as =40= * ={note}= - comment note, if any User management forms can be build dynamically from this data structure. Each password manager may return a different set of fields. ---++ ObjectMethod *setUserData* <tt>($cUID,$dataRef)</tt> Set the user data of a user. Same array of hashes as getUserData is assumed, although only ={name}= and ={value}= are used. Returns an empty string if save action is OK, or an error string starting with 'Error: ' if there is an error.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2011-08-21
-
TWikiContributor
TWiki
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
GNHLUG
Main
Org
TWiki
Copyright © 1999-2025 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns?
Contact GNHLUG
.
All use of this site subject to our
Legal Notice
(includes Terms of Service).