1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
5 <!-- Generated by javadoc on Mon Jun 09 15:53:38 PDT 2003 -->
9 <META NAME="keywords" CONTENT="org.openafs.jafs.User,User class">
10 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
15 parent.document.title="User (Java AFS API)";
18 <BODY BGCOLOR="white" onload="asd();">
20 <!-- ========== START OF NAVBAR ========== -->
21 <A NAME="navbar_top"><!-- --></A>
22 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
24 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25 <A NAME="navbar_top_firstrow"><!-- --></A>
26 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27 <TR ALIGN="center" VALIGN="top">
28 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
29 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
30 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/User.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
31 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
34 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
38 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39 <B>JAFS API v2</B></EM>
44 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45 <A HREF="../../../org/openafs/jafs/Token.html"><B>PREV CLASS</B></A>
46 <A HREF="../../../org/openafs/jafs/VersionInfo.html"><B>NEXT CLASS</B></A></FONT></TD>
47 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
49 <A HREF="User.html" TARGET="_top"><B>NO FRAMES</B></A>
54 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
59 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
64 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
66 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
70 <!-- =========== END OF NAVBAR =========== -->
73 <!-- ======== START OF CLASS DATA ======== -->
76 org.openafs.jafs</FONT>
80 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">java.lang.Object</A>
82 +--<B>org.openafs.jafs.User</B>
85 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A>, <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A></DD>
89 <DT>public class <B>User</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A></DL>
92 An abstract representation of an AFS user. It holds information about
93 the user, such as what groups it belongs to.
96 Constructing an instance of a <code>User</code> does not mean an actual
97 AFS user is created in a cell -- usually a <code>User</code>
98 object is a representation of an already existing AFS user. If,
99 however, the <code>User</code> is constructed with the name of a
100 user that does not exist in the cell represented by the provided
101 <code>Cell</code>, a new user with that name can be
102 created in that server by calling the <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String, int)"><CODE>create(String, int)</CODE></A> or
103 <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String)"><CODE>create(String)</CODE></A> method. If such a user does already exist when
104 one of these methods is called, an exception will be thrown.<BR><BR>
106 Each <code>User</code> object has its own individual set of
107 <code>Group</code>s that it owns and <code>Group</code>s for which
108 it is a member. These represents the properties and attributes
109 of an actual AFS user.
112 Since this <code>User</code> object is a union of both the PTS and KAS
113 properties of AFS users, some methods meant for users with a PTS entry
114 will throw exceptions if used on a user with only a KAS entry, and vice
117 <!--Information on how member values are set-->
119 Associated with an AFS user are many attributes, such as whether or not
120 it can change its own password, or who is allowed to find out the groups
121 to which this user belongs. The <code>User</code> class has many
122 "set" methods to indicate values for these attributes (i.e.
123 <A HREF="../../../org/openafs/jafs/User.html#setChangePassword(boolean)"><CODE>setChangePassword(boolean)</CODE></A> and <A HREF="../../../org/openafs/jafs/User.html#setListMembership(int)"><CODE>setListMembership(int)</CODE></A>).
124 However, in order for these values to be written to the actual AFS user,
125 the <A HREF="../../../org/openafs/jafs/User.html#flushInfo()"><CODE>flushInfo()</CODE></A> method needs to be called. This writes all user
126 attributes set through this API to AFS. This is done to minimize calls
129 <!--Example of how to use class-->
130 The following is a simple example of how to construct and use a
131 <code>User</code> object. It iterates through the list of users
132 (a union of pts and kas users) for a cell, and prints out the name and
136 import org.openafs.jafs.Cell;
137 import org.openafs.jafs.AFSException;
138 import org.openafs.jafs.User;
145 public static void main(String[] args) throws Exception
147 String username = arg[0];
148 String password = arg[1];
149 String cellName = arg[2];
151 token = new Token(username, password, cellName);
152 cell = new Cell(token);
153 server = cell.getServer(serverName);
155 System.out.println("Users in Cell " + cell.getName() + ":");
156 User[] users = cell.getUsers();
157 for (int i = 0; i < users.length; i++) {
158 System.out.println(" -> " + users[i] + ": " users[i].getID());
168 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.openafs.jafs.User">Serialized Form</A></DL>
172 <!-- ======== NESTED CLASS SUMMARY ======== -->
175 <!-- =========== FIELD SUMMARY =========== -->
177 <A NAME="field_summary"><!-- --></A>
178 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
179 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180 <TD COLSPAN=2><FONT SIZE="+2">
181 <B>Field Summary</B></FONT></TD>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>static int</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#ADMIN">ADMIN</A></B></CODE>
189 User has administrative kas privileges</TD>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>protected int</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#adminSetting">adminSetting</A></B></CODE>
197 whether or not this user has kas administrative privileges.
200 <TR BGCOLOR="white" CLASS="TableRowColor">
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202 <CODE>protected boolean</CODE></FONT></TD>
203 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#cachedInfo">cachedInfo</A></B></CODE>
206 Whether or not the information fields of this user have been filled.</TD>
208 <TR BGCOLOR="white" CLASS="TableRowColor">
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210 <CODE>protected <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A></CODE></FONT></TD>
211 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#cell">cell</A></B></CODE>
214 </TD>
216 <TR BGCOLOR="white" CLASS="TableRowColor">
217 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218 <CODE>protected int</CODE></FONT></TD>
219 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#cellHandle">cellHandle</A></B></CODE>
222 </TD>
224 <TR BGCOLOR="white" CLASS="TableRowColor">
225 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226 <CODE>static int</CODE></FONT></TD>
227 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#CHANGE_PASSWORD">CHANGE_PASSWORD</A></B></CODE>
230 User can change their password</TD>
232 <TR BGCOLOR="white" CLASS="TableRowColor">
233 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234 <CODE>protected int</CODE></FONT></TD>
235 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#cpwSetting">cpwSetting</A></B></CODE>
238 whether this user is allowed to change its password. </TD>
240 <TR BGCOLOR="white" CLASS="TableRowColor">
241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
243 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#creator">creator</A></B></CODE>
246 </TD>
248 <TR BGCOLOR="white" CLASS="TableRowColor">
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250 <CODE>protected int</CODE></FONT></TD>
251 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#creatorUID">creatorUID</A></B></CODE>
254 </TD>
256 <TR BGCOLOR="white" CLASS="TableRowColor">
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258 <CODE>protected int</CODE></FONT></TD>
259 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#daysToPasswordExpire">daysToPasswordExpire</A></B></CODE>
262 </TD>
264 <TR BGCOLOR="white" CLASS="TableRowColor">
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266 <CODE>static int</CODE></FONT></TD>
267 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#ENCRYPT">ENCRYPT</A></B></CODE>
270 TGS can use user's key for an encryption key</TD>
272 <TR BGCOLOR="white" CLASS="TableRowColor">
273 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
275 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#encryptionKey">encryptionKey</A></B></CODE>
278 </TD>
280 <TR BGCOLOR="white" CLASS="TableRowColor">
281 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282 <CODE>protected int</CODE></FONT></TD>
283 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#encSetting">encSetting</A></B></CODE>
286 whether the TGS can use this user's key as an encryption key. </TD>
288 <TR BGCOLOR="white" CLASS="TableRowColor">
289 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
290 <CODE>protected int</CODE></FONT></TD>
291 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#failLoginCount">failLoginCount</A></B></CODE>
294 </TD>
296 <TR BGCOLOR="white" CLASS="TableRowColor">
297 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
298 <CODE>static int</CODE></FONT></TD>
299 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#GRANT_TICKETS">GRANT_TICKETS</A></B></CODE>
302 TGS will grant tickets for user</TD>
304 <TR BGCOLOR="white" CLASS="TableRowColor">
305 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
306 <CODE>protected int</CODE></FONT></TD>
307 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groupCreationQuota">groupCreationQuota</A></B></CODE>
310 </TD>
312 <TR BGCOLOR="white" CLASS="TableRowColor">
313 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
314 <CODE>protected int</CODE></FONT></TD>
315 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groupMembershipCount">groupMembershipCount</A></B></CODE>
318 </TD>
320 <TR BGCOLOR="white" CLASS="TableRowColor">
321 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
322 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A></CODE></FONT></TD>
323 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groupNames">groupNames</A></B></CODE>
326 </TD>
328 <TR BGCOLOR="white" CLASS="TableRowColor">
329 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A></CODE></FONT></TD>
331 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groups">groups</A></B></CODE>
334 </TD>
336 <TR BGCOLOR="white" CLASS="TableRowColor">
337 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
338 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A></CODE></FONT></TD>
339 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groupsOwned">groupsOwned</A></B></CODE>
342 </TD>
344 <TR BGCOLOR="white" CLASS="TableRowColor">
345 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
346 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A></CODE></FONT></TD>
347 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#groupsOwnedNames">groupsOwnedNames</A></B></CODE>
350 </TD>
352 <TR BGCOLOR="white" CLASS="TableRowColor">
353 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
354 <CODE>protected boolean</CODE></FONT></TD>
355 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#kas">kas</A></B></CODE>
358 Does this user have a kas entry?</TD>
360 <TR BGCOLOR="white" CLASS="TableRowColor">
361 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362 <CODE>protected long</CODE></FONT></TD>
363 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#keyCheckSum">keyCheckSum</A></B></CODE>
366 </TD>
368 <TR BGCOLOR="white" CLASS="TableRowColor">
369 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370 <CODE>protected int</CODE></FONT></TD>
371 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#keyVersion">keyVersion</A></B></CODE>
374 </TD>
376 <TR BGCOLOR="white" CLASS="TableRowColor">
377 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378 <CODE>protected int</CODE></FONT></TD>
379 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lastChangePasswordTime">lastChangePasswordTime</A></B></CODE>
382 </TD>
384 <TR BGCOLOR="white" CLASS="TableRowColor">
385 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
386 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
387 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lastChangePasswordTimeDate">lastChangePasswordTimeDate</A></B></CODE>
390 </TD>
392 <TR BGCOLOR="white" CLASS="TableRowColor">
393 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
394 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
395 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lastModName">lastModName</A></B></CODE>
398 </TD>
400 <TR BGCOLOR="white" CLASS="TableRowColor">
401 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
402 <CODE>protected int</CODE></FONT></TD>
403 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lastModTime">lastModTime</A></B></CODE>
406 </TD>
408 <TR BGCOLOR="white" CLASS="TableRowColor">
409 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
410 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
411 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lastModTimeDate">lastModTimeDate</A></B></CODE>
414 </TD>
416 <TR BGCOLOR="white" CLASS="TableRowColor">
417 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
418 <CODE>protected int</CODE></FONT></TD>
419 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#listGroupsOwned">listGroupsOwned</A></B></CODE>
422 who is allowed to execute pts listowned for this user. </TD>
424 <TR BGCOLOR="white" CLASS="TableRowColor">
425 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
426 <CODE>protected int</CODE></FONT></TD>
427 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#listMembership">listMembership</A></B></CODE>
430 who is allowed to execute pts membership for this user. </TD>
432 <TR BGCOLOR="white" CLASS="TableRowColor">
433 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
434 <CODE>protected int</CODE></FONT></TD>
435 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#listStatus">listStatus</A></B></CODE>
438 who is allowed to execute pts examine for this user. </TD>
440 <TR BGCOLOR="white" CLASS="TableRowColor">
441 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
442 <CODE>protected int</CODE></FONT></TD>
443 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lockedUntil">lockedUntil</A></B></CODE>
446 </TD>
448 <TR BGCOLOR="white" CLASS="TableRowColor">
449 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
450 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
451 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lockedUntilDate">lockedUntilDate</A></B></CODE>
454 </TD>
456 <TR BGCOLOR="white" CLASS="TableRowColor">
457 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
458 <CODE>protected int</CODE></FONT></TD>
459 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#lockTime">lockTime</A></B></CODE>
462 </TD>
464 <TR BGCOLOR="white" CLASS="TableRowColor">
465 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
466 <CODE>protected int</CODE></FONT></TD>
467 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#maxTicketLifetime">maxTicketLifetime</A></B></CODE>
470 </TD>
472 <TR BGCOLOR="white" CLASS="TableRowColor">
473 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
474 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
475 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#name">name</A></B></CODE>
478 </TD>
480 <TR BGCOLOR="white" CLASS="TableRowColor">
481 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
482 <CODE>protected int</CODE></FONT></TD>
483 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#nameUID">nameUID</A></B></CODE>
486 </TD>
488 <TR BGCOLOR="white" CLASS="TableRowColor">
489 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
490 <CODE>static int</CODE></FONT></TD>
491 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#NO_ADMIN">NO_ADMIN</A></B></CODE>
494 User has no administrative kas privileges</TD>
496 <TR BGCOLOR="white" CLASS="TableRowColor">
497 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
498 <CODE>static int</CODE></FONT></TD>
499 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#NO_CHANGE_PASSWORD">NO_CHANGE_PASSWORD</A></B></CODE>
502 User cannot change their password</TD>
504 <TR BGCOLOR="white" CLASS="TableRowColor">
505 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
506 <CODE>static int</CODE></FONT></TD>
507 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#NO_ENCRYPT">NO_ENCRYPT</A></B></CODE>
510 TGS cannot use user's key for an encryption key</TD>
512 <TR BGCOLOR="white" CLASS="TableRowColor">
513 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
514 <CODE>static int</CODE></FONT></TD>
515 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#NO_GRANT_TICKETS">NO_GRANT_TICKETS</A></B></CODE>
518 TGS will not grant tickets for user</TD>
520 <TR BGCOLOR="white" CLASS="TableRowColor">
521 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
522 <CODE>static int</CODE></FONT></TD>
523 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#NO_REUSE_PASSWORD">NO_REUSE_PASSWORD</A></B></CODE>
526 User cannot reuse their password</TD>
528 <TR BGCOLOR="white" CLASS="TableRowColor">
529 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
530 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
531 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#owner">owner</A></B></CODE>
534 </TD>
536 <TR BGCOLOR="white" CLASS="TableRowColor">
537 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
538 <CODE>protected int</CODE></FONT></TD>
539 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#ownerUID">ownerUID</A></B></CODE>
542 </TD>
544 <TR BGCOLOR="white" CLASS="TableRowColor">
545 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
546 <CODE>protected boolean</CODE></FONT></TD>
547 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#pts">pts</A></B></CODE>
550 Does this user have a pts entry?</TD>
552 <TR BGCOLOR="white" CLASS="TableRowColor">
553 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
554 <CODE>static int</CODE></FONT></TD>
555 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#REUSE_PASSWORD">REUSE_PASSWORD</A></B></CODE>
558 User can reuse their password</TD>
560 <TR BGCOLOR="white" CLASS="TableRowColor">
561 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
562 <CODE>protected int</CODE></FONT></TD>
563 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#rpwSetting">rpwSetting</A></B></CODE>
566 whether this user is allowed to reuse its password. </TD>
568 <TR BGCOLOR="white" CLASS="TableRowColor">
569 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
570 <CODE>protected int</CODE></FONT></TD>
571 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#tgsSetting">tgsSetting</A></B></CODE>
574 whether the TGS will grant tickets for this user. </TD>
576 <TR BGCOLOR="white" CLASS="TableRowColor">
577 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
578 <CODE>static int</CODE></FONT></TD>
579 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS">USER_ANYUSER_ACCESS</A></B></CODE>
582 Any user has access</TD>
584 <TR BGCOLOR="white" CLASS="TableRowColor">
585 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
586 <CODE>static int</CODE></FONT></TD>
587 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS">USER_OWNER_ACCESS</A></B></CODE>
590 Only the owner of the user has access</TD>
592 <TR BGCOLOR="white" CLASS="TableRowColor">
593 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
594 <CODE>protected int</CODE></FONT></TD>
595 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#userExpiration">userExpiration</A></B></CODE>
598 </TD>
600 <TR BGCOLOR="white" CLASS="TableRowColor">
601 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
602 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
603 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#userExpirationDate">userExpirationDate</A></B></CODE>
606 </TD>
609 <A NAME="fields_inherited_from_class_org.openafs.jafs.PTSEntry"><!-- --></A>
610 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
611 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
612 <TD><B>Fields inherited from interface org.openafs.jafs.<A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></B></TD>
614 <TR BGCOLOR="white" CLASS="TableRowColor">
615 <TD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#PTS_GROUP">PTS_GROUP</A>, <A HREF="../../../org/openafs/jafs/PTSEntry.html#PTS_USER">PTS_USER</A></CODE></TD>
619 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
621 <A NAME="constructor_summary"><!-- --></A>
622 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
623 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
624 <TD COLSPAN=2><FONT SIZE="+2">
625 <B>Constructor Summary</B></FONT></TD>
627 <TR BGCOLOR="white" CLASS="TableRowColor">
628 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
629 <CODE>(package private)</CODE></FONT></TD>
630 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#User(org.openafs.jafs.Cell)">User</A></B>(<A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell)</CODE>
633 Constructs a blank <code>User</code> object given the cell to which
634 the user belongs. </TD>
636 <TR BGCOLOR="white" CLASS="TableRowColor">
637 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
638 <CODE> </CODE></FONT></TD>
639 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#User(java.lang.String, org.openafs.jafs.Cell)">User</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
640 <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell)</CODE>
643 Constructs a new <code>User</code> object instance given the name
644 of the AFS user and the AFS cell, represented by
645 <CODE>cell</CODE>, to which it belongs. </TD>
647 <TR BGCOLOR="white" CLASS="TableRowColor">
648 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
649 <CODE> </CODE></FONT></TD>
650 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#User(java.lang.String, org.openafs.jafs.Cell, boolean)">User</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
651 <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell,
652 boolean preloadAllMembers)</CODE>
655 Constructs a new <code>User</code> object instance given the name
656 of the AFS user and the AFS cell, represented by
657 <CODE>cell</CODE>, to which it belongs. </TD>
661 <!-- ========== METHOD SUMMARY =========== -->
663 <A NAME="method_summary"><!-- --></A>
664 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
665 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
666 <TD COLSPAN=2><FONT SIZE="+2">
667 <B>Method Summary</B></FONT></TD>
669 <TR BGCOLOR="white" CLASS="TableRowColor">
670 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
671 <CODE> boolean</CODE></FONT></TD>
672 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#canChangePassword()">canChangePassword</A></B>()</CODE>
675 KAS: Returns whether or not the user can change their password</TD>
677 <TR BGCOLOR="white" CLASS="TableRowColor">
678 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
679 <CODE> boolean</CODE></FONT></TD>
680 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#canEncrypt()">canEncrypt</A></B>()</CODE>
683 KAS: Returns whether or not TGS can use this users ticket for an encryption key</TD>
685 <TR BGCOLOR="white" CLASS="TableRowColor">
686 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
687 <CODE> boolean</CODE></FONT></TD>
688 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#canReusePassword()">canReusePassword</A></B>()</CODE>
691 KAS: Returns whether or not the user can reuse their password</TD>
693 <TR BGCOLOR="white" CLASS="TableRowColor">
694 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
695 <CODE> int</CODE></FONT></TD>
696 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A> obj)</CODE>
699 Comparable interface method.</TD>
701 <TR BGCOLOR="white" CLASS="TableRowColor">
702 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
703 <CODE> int</CODE></FONT></TD>
704 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#compareTo(org.openafs.jafs.User)">compareTo</A></B>(<A HREF="../../../org/openafs/jafs/User.html">User</A> user)</CODE>
707 Compares two User objects respective to their names and does not
708 factor any other attribute. </TD>
710 <TR BGCOLOR="white" CLASS="TableRowColor">
711 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
712 <CODE>protected static void</CODE></FONT></TD>
713 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#create(int, java.lang.String, java.lang.String, int)">create</A></B>(int cellHandle,
714 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName,
715 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password,
719 Creates the kas and pts entries for a new user. </TD>
721 <TR BGCOLOR="white" CLASS="TableRowColor">
722 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
723 <CODE> void</CODE></FONT></TD>
724 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String)">create</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password)</CODE>
727 Creates the kas and pts entries for a new user in this cell.
730 <TR BGCOLOR="white" CLASS="TableRowColor">
731 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
732 <CODE> void</CODE></FONT></TD>
733 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String, int)">create</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password,
737 Creates the kas and pts entries for a new user in this cell.</TD>
739 <TR BGCOLOR="white" CLASS="TableRowColor">
740 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
741 <CODE> void</CODE></FONT></TD>
742 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#delete()">delete</A></B>()</CODE>
745 Deletes the pts and kas entries for a user in this cell. </TD>
747 <TR BGCOLOR="white" CLASS="TableRowColor">
748 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
749 <CODE>protected static void</CODE></FONT></TD>
750 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#delete(int, java.lang.String)">delete</A></B>(int cellHandle,
751 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName)</CODE>
754 Deletes the pts and kas entry for a user. </TD>
756 <TR BGCOLOR="white" CLASS="TableRowColor">
757 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
758 <CODE> boolean</CODE></FONT></TD>
759 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#equals(org.openafs.jafs.User)">equals</A></B>(<A HREF="../../../org/openafs/jafs/User.html">User</A> otherUser)</CODE>
762 Tests whether two <code>User</code> objects are equal, based on their
765 <TR BGCOLOR="white" CLASS="TableRowColor">
766 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
767 <CODE> void</CODE></FONT></TD>
768 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#flushInfo()">flushInfo</A></B>()</CODE>
771 Flushes the current information of this <code>User</code> object to disk.
774 <TR BGCOLOR="white" CLASS="TableRowColor">
775 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
776 <CODE> <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A></CODE></FONT></TD>
777 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getCell()">getCell</A></B>()</CODE>
780 Returns the Cell this user belongs to.</TD>
782 <TR BGCOLOR="white" CLASS="TableRowColor">
783 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
784 <CODE> <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></FONT></TD>
785 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getCreator()">getCreator</A></B>()</CODE>
788 PTS: Returns the creator of this user in the form of a <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>.
792 <TR BGCOLOR="white" CLASS="TableRowColor">
793 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
794 <CODE> int</CODE></FONT></TD>
795 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getDaysToPasswordExpire()">getDaysToPasswordExpire</A></B>()</CODE>
798 KAS: Returns the number of days a password is valid before it expires.
801 <TR BGCOLOR="white" CLASS="TableRowColor">
802 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
803 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
804 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getEncryptionKey()">getEncryptionKey</A></B>()</CODE>
807 KAS: Returns the encryption key, in octal form, of this user. </TD>
809 <TR BGCOLOR="white" CLASS="TableRowColor">
810 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
811 <CODE> int</CODE></FONT></TD>
812 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getFailLoginCount()">getFailLoginCount</A></B>()</CODE>
815 KAS: Returns the number of failed login attempts this user is allowed
816 before being locked out. </TD>
818 <TR BGCOLOR="white" CLASS="TableRowColor">
819 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
820 <CODE> int</CODE></FONT></TD>
821 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupCreationQuota()">getGroupCreationQuota</A></B>()</CODE>
824 PTS: Returns how many more groups this user is allowed to create</TD>
826 <TR BGCOLOR="white" CLASS="TableRowColor">
827 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
828 <CODE> int</CODE></FONT></TD>
829 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupMembershipCount()">getGroupMembershipCount</A></B>()</CODE>
832 PTS: Returns the number of groups to which this user belongs.</TD>
834 <TR BGCOLOR="white" CLASS="TableRowColor">
835 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
836 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[]</CODE></FONT></TD>
837 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupNames()">getGroupNames</A></B>()</CODE>
840 PTS: Returns a <code>String</code> array of the group names
841 to which this user belongs.</TD>
843 <TR BGCOLOR="white" CLASS="TableRowColor">
844 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
845 <CODE> <A HREF="../../../org/openafs/jafs/Group.html">Group</A>[]</CODE></FONT></TD>
846 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroups()">getGroups</A></B>()</CODE>
849 PTS: Returns an array of the <code>Group</code> objects
850 to which this user belongs.</TD>
852 <TR BGCOLOR="white" CLASS="TableRowColor">
853 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
854 <CODE> <A HREF="../../../org/openafs/jafs/Group.html">Group</A>[]</CODE></FONT></TD>
855 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwned()">getGroupsOwned</A></B>()</CODE>
858 PTS: Returns an array of the <code>Group</code> objects
861 <TR BGCOLOR="white" CLASS="TableRowColor">
862 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
863 <CODE>protected static int</CODE></FONT></TD>
864 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedBegin(int, java.lang.String)">getGroupsOwnedBegin</A></B>(int cellHandle,
865 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)</CODE>
868 Begin the process of getting the groups that a user or group owns.
871 <TR BGCOLOR="white" CLASS="TableRowColor">
872 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
873 <CODE> int</CODE></FONT></TD>
874 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedCount()">getGroupsOwnedCount</A></B>()</CODE>
877 PTS: Returns the total count of groups this user owns.
881 <TR BGCOLOR="white" CLASS="TableRowColor">
882 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
883 <CODE>protected static int</CODE></FONT></TD>
884 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedCount(int, java.lang.String)">getGroupsOwnedCount</A></B>(int cellHandle,
885 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)</CODE>
888 Returns the total number of groups owned by the user.</TD>
890 <TR BGCOLOR="white" CLASS="TableRowColor">
891 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
892 <CODE>protected static void</CODE></FONT></TD>
893 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedDone(int)">getGroupsOwnedDone</A></B>(int iterationId)</CODE>
896 Signals that the iteration is complete and will not be accessed anymore.</TD>
898 <TR BGCOLOR="white" CLASS="TableRowColor">
899 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
900 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[]</CODE></FONT></TD>
901 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedNames()">getGroupsOwnedNames</A></B>()</CODE>
904 PTS: Returns a <code>String</code> array of the group names
907 <TR BGCOLOR="white" CLASS="TableRowColor">
908 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
909 <CODE>protected static int</CODE></FONT></TD>
910 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedNext(int, int, org.openafs.jafs.Group)">getGroupsOwnedNext</A></B>(int cellHandle,
911 int iterationId,
912 <A HREF="../../../org/openafs/jafs/Group.html">Group</A> theGroup)</CODE>
915 Fills the next group object that the user or group owns. </TD>
917 <TR BGCOLOR="white" CLASS="TableRowColor">
918 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
919 <CODE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
920 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedNextString(int)">getGroupsOwnedNextString</A></B>(int iterationId)</CODE>
923 Returns the next group the user or group owns. </TD>
925 <TR BGCOLOR="white" CLASS="TableRowColor">
926 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
927 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
928 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getInfo()">getInfo</A></B>()</CODE>
931 Returns a <code>String</code> representation of this <code>User</code>.
934 <TR BGCOLOR="white" CLASS="TableRowColor">
935 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
936 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
937 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getInfoGroups()">getInfoGroups</A></B>()</CODE>
940 Returns a <code>String</code> containing the <code>String</code>
941 representations of all the groups to which this user belongs.</TD>
943 <TR BGCOLOR="white" CLASS="TableRowColor">
944 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
945 <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
946 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getInfoGroupsOwned()">getInfoGroupsOwned</A></B>()</CODE>
949 Returns a <code>String</code> containing the <code>String</code>
950 representations of all the groups that this user owns.</TD>
952 <TR BGCOLOR="white" CLASS="TableRowColor">
953 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
954 <CODE> long</CODE></FONT></TD>
955 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getKeyCheckSum()">getKeyCheckSum</A></B>()</CODE>
958 KAS: Returns the check sum of this user's key.</TD>
960 <TR BGCOLOR="white" CLASS="TableRowColor">
961 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
962 <CODE> int</CODE></FONT></TD>
963 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getKeyVersion()">getKeyVersion</A></B>()</CODE>
966 KAS: Returns the version number of the user's key.</TD>
968 <TR BGCOLOR="white" CLASS="TableRowColor">
969 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
970 <CODE> int</CODE></FONT></TD>
971 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLastChangePasswordTime()">getLastChangePasswordTime</A></B>()</CODE>
974 KAS: Returns the last date and time (in UTC) the user changed
977 <TR BGCOLOR="white" CLASS="TableRowColor">
978 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
979 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
980 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLastChangePasswordTimeDate()">getLastChangePasswordTimeDate</A></B>()</CODE>
983 KAS: Returns the last date and time the user changed its password.</TD>
985 <TR BGCOLOR="white" CLASS="TableRowColor">
986 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
987 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
988 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLastModName()">getLastModName</A></B>()</CODE>
991 KAS: Returns the name of the user that last modified this user.</TD>
993 <TR BGCOLOR="white" CLASS="TableRowColor">
994 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
995 <CODE> int</CODE></FONT></TD>
996 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLastModTime()">getLastModTime</A></B>()</CODE>
999 KAS: Returns the date and time (in UTC) the user's KAS entry was
1002 <TR BGCOLOR="white" CLASS="TableRowColor">
1003 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1004 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
1005 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLastModTimeDate()">getLastModTimeDate</A></B>()</CODE>
1008 KAS: Returns the date and time the user was last modified.</TD>
1010 <TR BGCOLOR="white" CLASS="TableRowColor">
1011 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1012 <CODE> int</CODE></FONT></TD>
1013 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getListGroupsOwned()">getListGroupsOwned</A></B>()</CODE>
1016 PTS: Returns who can list the groups owned (pts listowned) by this user.
1019 <TR BGCOLOR="white" CLASS="TableRowColor">
1020 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1021 <CODE> int</CODE></FONT></TD>
1022 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getListMembership()">getListMembership</A></B>()</CODE>
1025 PTS: Returns who can list the groups (pts membership) to which this
1029 <TR BGCOLOR="white" CLASS="TableRowColor">
1030 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1031 <CODE> int</CODE></FONT></TD>
1032 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getListStatus()">getListStatus</A></B>()</CODE>
1035 PTS: Returns who can list the status (pts examine) of this user.
1038 <TR BGCOLOR="white" CLASS="TableRowColor">
1039 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1040 <CODE> int</CODE></FONT></TD>
1041 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLockedUntil()">getLockedUntil</A></B>()</CODE>
1044 KAS: Returns the date and time (in UTC) at which the user stops
1045 being locked out. </TD>
1047 <TR BGCOLOR="white" CLASS="TableRowColor">
1048 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1049 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
1050 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLockedUntilDate()">getLockedUntilDate</A></B>()</CODE>
1053 KAS: Returns the date and time at which the user stops being locked out.
1056 <TR BGCOLOR="white" CLASS="TableRowColor">
1057 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1058 <CODE> int</CODE></FONT></TD>
1059 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getLockTime()">getLockTime</A></B>()</CODE>
1062 KAS: Returns the amount of time (in seconds) a user is locked out when
1063 it exceeds the maximum number of allowable failed login attempts.
1066 <TR BGCOLOR="white" CLASS="TableRowColor">
1067 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1068 <CODE> int</CODE></FONT></TD>
1069 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getMaxTicketLifetime()">getMaxTicketLifetime</A></B>()</CODE>
1072 KAS: Returns the maximum lifetime of a ticket issued to this user
1075 <TR BGCOLOR="white" CLASS="TableRowColor">
1076 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1077 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
1078 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getName()">getName</A></B>()</CODE>
1081 Returns the name of this user.</TD>
1083 <TR BGCOLOR="white" CLASS="TableRowColor">
1084 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1085 <CODE> <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></FONT></TD>
1086 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getOwner()">getOwner</A></B>()</CODE>
1089 PTS: Returns the owner of this user in the form of a <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>.
1093 <TR BGCOLOR="white" CLASS="TableRowColor">
1094 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1095 <CODE> short</CODE></FONT></TD>
1096 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getType()">getType</A></B>()</CODE>
1099 Returns the type of <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A> this object represents.
1103 <TR BGCOLOR="white" CLASS="TableRowColor">
1104 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1105 <CODE> int</CODE></FONT></TD>
1106 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUID()">getUID</A></B>()</CODE>
1109 PTS: Returns the numeric AFS id of this user.</TD>
1111 <TR BGCOLOR="white" CLASS="TableRowColor">
1112 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1113 <CODE> int</CODE></FONT></TD>
1114 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserExpiration()">getUserExpiration</A></B>()</CODE>
1117 KAS: Returns the date and time the user expires.
1120 <TR BGCOLOR="white" CLASS="TableRowColor">
1121 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1122 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
1123 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserExpirationDate()">getUserExpirationDate</A></B>()</CODE>
1126 KAS: Returns the date and time the user expires.
1129 <TR BGCOLOR="white" CLASS="TableRowColor">
1130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1131 <CODE>protected static int</CODE></FONT></TD>
1132 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsBegin(int, java.lang.String)">getUserGroupsBegin</A></B>(int cellHandle,
1133 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)</CODE>
1136 Begin the process of getting the groups to which the user belongs.
1139 <TR BGCOLOR="white" CLASS="TableRowColor">
1140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1141 <CODE>protected static void</CODE></FONT></TD>
1142 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsDone(int)">getUserGroupsDone</A></B>(int iterationId)</CODE>
1145 Signals that the iteration is complete and will not be accessed anymore.</TD>
1147 <TR BGCOLOR="white" CLASS="TableRowColor">
1148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1149 <CODE>protected static int</CODE></FONT></TD>
1150 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsNext(int, int, org.openafs.jafs.Group)">getUserGroupsNext</A></B>(int cellHandle,
1151 int iterationId,
1152 <A HREF="../../../org/openafs/jafs/Group.html">Group</A> theGroup)</CODE>
1155 Fills the next group object of which the user belongs. </TD>
1157 <TR BGCOLOR="white" CLASS="TableRowColor">
1158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1159 <CODE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
1160 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsNextString(int)">getUserGroupsNextString</A></B>(int iterationId)</CODE>
1163 Returns the next group to which the user belongs. </TD>
1165 <TR BGCOLOR="white" CLASS="TableRowColor">
1166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1167 <CODE>protected static void</CODE></FONT></TD>
1168 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#getUserInfo(int, java.lang.String, org.openafs.jafs.User)">getUserInfo</A></B>(int cellHandle,
1169 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
1170 <A HREF="../../../org/openafs/jafs/User.html">User</A> user)</CODE>
1173 Fills in the information fields of the provided <code>User</code>.
1176 <TR BGCOLOR="white" CLASS="TableRowColor">
1177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1178 <CODE> boolean</CODE></FONT></TD>
1179 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#isAdmin()">isAdmin</A></B>()</CODE>
1182 KAS: Returns whether or not this user has kas administrative privileges</TD>
1184 <TR BGCOLOR="white" CLASS="TableRowColor">
1185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1186 <CODE> boolean</CODE></FONT></TD>
1187 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#isKAS()">isKAS</A></B>()</CODE>
1190 Returns whether or not this user has a kas entry.</TD>
1192 <TR BGCOLOR="white" CLASS="TableRowColor">
1193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1194 <CODE> boolean</CODE></FONT></TD>
1195 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#isPTS()">isPTS</A></B>()</CODE>
1198 Returns whether or not this user has a pts entry.</TD>
1200 <TR BGCOLOR="white" CLASS="TableRowColor">
1201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1202 <CODE>protected static void</CODE></FONT></TD>
1203 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#reclaimUserMemory()">reclaimUserMemory</A></B>()</CODE>
1206 Reclaims all memory being saved by the user portion of the native library.
1209 <TR BGCOLOR="white" CLASS="TableRowColor">
1210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1211 <CODE> void</CODE></FONT></TD>
1212 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refresh()">refresh</A></B>()</CODE>
1215 Refreshes the properties of this User object instance with values from
1216 the AFS user it represents. </TD>
1218 <TR BGCOLOR="white" CLASS="TableRowColor">
1219 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1220 <CODE>protected void</CODE></FONT></TD>
1221 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refresh(boolean)">refresh</A></B>(boolean all)</CODE>
1224 Refreshes the properties of this User object instance with values from
1225 the AFS user it represents. </TD>
1227 <TR BGCOLOR="white" CLASS="TableRowColor">
1228 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1229 <CODE>protected void</CODE></FONT></TD>
1230 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refreshGroupNames()">refreshGroupNames</A></B>()</CODE>
1233 Refreshes the current information about the group names to which the
1236 <TR BGCOLOR="white" CLASS="TableRowColor">
1237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1238 <CODE>protected void</CODE></FONT></TD>
1239 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refreshGroups()">refreshGroups</A></B>()</CODE>
1242 Refreshes the current information about the group objects to which the
1245 <TR BGCOLOR="white" CLASS="TableRowColor">
1246 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1247 <CODE>protected void</CODE></FONT></TD>
1248 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refreshGroupsOwned()">refreshGroupsOwned</A></B>()</CODE>
1251 Refreshes the current information about the group objects that the user \
1254 <TR BGCOLOR="white" CLASS="TableRowColor">
1255 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1256 <CODE>protected void</CODE></FONT></TD>
1257 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refreshGroupsOwnedNames()">refreshGroupsOwnedNames</A></B>()</CODE>
1260 Refreshes the current information about the group names that the user
1263 <TR BGCOLOR="white" CLASS="TableRowColor">
1264 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1265 <CODE>protected void</CODE></FONT></TD>
1266 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#refreshInfo()">refreshInfo</A></B>()</CODE>
1269 Refreshes the information fields of this <code>User</code> to reflect
1270 the current state of the AFS user. </TD>
1272 <TR BGCOLOR="white" CLASS="TableRowColor">
1273 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1274 <CODE>protected static void</CODE></FONT></TD>
1275 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#rename(int, java.lang.String, java.lang.String)">rename</A></B>(int cellHandle,
1276 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> oldName,
1277 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newName)</CODE>
1280 Renames the given user. </TD>
1282 <TR BGCOLOR="white" CLASS="TableRowColor">
1283 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1284 <CODE> void</CODE></FONT></TD>
1285 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#rename(java.lang.String)">rename</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newName)</CODE>
1288 Change the name of this user. </TD>
1290 <TR BGCOLOR="white" CLASS="TableRowColor">
1291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1292 <CODE> void</CODE></FONT></TD>
1293 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setAdmin(boolean)">setAdmin</A></B>(boolean setting)</CODE>
1296 KAS: Sets whether or not this user has kas administrative privileges</TD>
1298 <TR BGCOLOR="white" CLASS="TableRowColor">
1299 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1300 <CODE> void</CODE></FONT></TD>
1301 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setChangePassword(boolean)">setChangePassword</A></B>(boolean setting)</CODE>
1304 KAS: Sets whether or not the user can change their password</TD>
1306 <TR BGCOLOR="white" CLASS="TableRowColor">
1307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1308 <CODE> void</CODE></FONT></TD>
1309 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setDaysToPasswordExpire(int)">setDaysToPasswordExpire</A></B>(int days)</CODE>
1312 KAS: Sets the number of days a password is valid before it expires.
1315 <TR BGCOLOR="white" CLASS="TableRowColor">
1316 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1317 <CODE> void</CODE></FONT></TD>
1318 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setEncrypt(boolean)">setEncrypt</A></B>(boolean setting)</CODE>
1321 KAS: Sets whether or not TGS can use this users ticket for an
1324 <TR BGCOLOR="white" CLASS="TableRowColor">
1325 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1326 <CODE> void</CODE></FONT></TD>
1327 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setFailLoginCount(int)">setFailLoginCount</A></B>(int logins)</CODE>
1330 KAS: Sets the number of failed login attempts this user is allowed before
1331 being locked out. </TD>
1333 <TR BGCOLOR="white" CLASS="TableRowColor">
1334 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1335 <CODE> void</CODE></FONT></TD>
1336 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setGrantTickets(boolean)">setGrantTickets</A></B>(boolean setting)</CODE>
1339 KAS: Sets whether or not TGS will issue tickets for this user</TD>
1341 <TR BGCOLOR="white" CLASS="TableRowColor">
1342 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1343 <CODE> void</CODE></FONT></TD>
1344 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setGroupCreationQuota(int)">setGroupCreationQuota</A></B>(int quota)</CODE>
1347 PTS: Sets how many more groups this user is allowed to create</TD>
1349 <TR BGCOLOR="white" CLASS="TableRowColor">
1350 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1351 <CODE> void</CODE></FONT></TD>
1352 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setListGroupsOwned(int)">setListGroupsOwned</A></B>(int value)</CODE>
1355 PTS: Sets who can list the groups owned (pts listowned) by this user.
1358 <TR BGCOLOR="white" CLASS="TableRowColor">
1359 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1360 <CODE> void</CODE></FONT></TD>
1361 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setListMembership(int)">setListMembership</A></B>(int value)</CODE>
1364 PTS: Sets who can list the groups (pts membership) to which this
1368 <TR BGCOLOR="white" CLASS="TableRowColor">
1369 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1370 <CODE> void</CODE></FONT></TD>
1371 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setListStatus(int)">setListStatus</A></B>(int value)</CODE>
1374 PTS: Sets who can list the status (pts examine) of this user.
1377 <TR BGCOLOR="white" CLASS="TableRowColor">
1378 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1379 <CODE> void</CODE></FONT></TD>
1380 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setLockTime(int)">setLockTime</A></B>(int seconds)</CODE>
1383 KAS: Sets the amount of time (in seconds) a user is locked out when it
1384 exceeds the maximum number of allowable failed login attempts.
1387 <TR BGCOLOR="white" CLASS="TableRowColor">
1388 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1389 <CODE> void</CODE></FONT></TD>
1390 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setMaxTicketLifetime(int)">setMaxTicketLifetime</A></B>(int seconds)</CODE>
1393 KAS: Sets the maximum lifetime of a ticket issued to this user
1396 <TR BGCOLOR="white" CLASS="TableRowColor">
1397 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1398 <CODE>protected static void</CODE></FONT></TD>
1399 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setPassword(int, java.lang.String, java.lang.String)">setPassword</A></B>(int cellHandle,
1400 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName,
1401 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newPassword)</CODE>
1404 Sets the password of the given user. </TD>
1406 <TR BGCOLOR="white" CLASS="TableRowColor">
1407 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1408 <CODE> void</CODE></FONT></TD>
1409 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setPassword(java.lang.String)">setPassword</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newPassword)</CODE>
1412 Sets the password of this user to something new. </TD>
1414 <TR BGCOLOR="white" CLASS="TableRowColor">
1415 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1416 <CODE> void</CODE></FONT></TD>
1417 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setReusePassword(boolean)">setReusePassword</A></B>(boolean setting)</CODE>
1420 KAS: Sets whether or not the user can reuse their password</TD>
1422 <TR BGCOLOR="white" CLASS="TableRowColor">
1423 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1424 <CODE> void</CODE></FONT></TD>
1425 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setUserExpiration(java.util.GregorianCalendar)">setUserExpiration</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> expirationDate)</CODE>
1428 KAS: Sets the date and time the user expires.
1431 <TR BGCOLOR="white" CLASS="TableRowColor">
1432 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1433 <CODE>protected static void</CODE></FONT></TD>
1434 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#setUserInfo(int, java.lang.String, org.openafs.jafs.User)">setUserInfo</A></B>(int cellHandle,
1435 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
1436 <A HREF="../../../org/openafs/jafs/User.html">User</A> theUser)</CODE>
1439 Sets the information values of this AFS user to be the parameter values.
1442 <TR BGCOLOR="white" CLASS="TableRowColor">
1443 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1444 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
1445 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#toString()">toString</A></B>()</CODE>
1448 Returns the name of this <CODE>User</CODE></TD>
1450 <TR BGCOLOR="white" CLASS="TableRowColor">
1451 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1452 <CODE> void</CODE></FONT></TD>
1453 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#unlock()">unlock</A></B>()</CODE>
1456 Unlocks the given user if they were locked out of the cell.</TD>
1458 <TR BGCOLOR="white" CLASS="TableRowColor">
1459 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1460 <CODE>protected static void</CODE></FONT></TD>
1461 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#unlock(int, java.lang.String)">unlock</A></B>(int cellHandle,
1462 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName)</CODE>
1465 Unlocks a user.</TD>
1467 <TR BGCOLOR="white" CLASS="TableRowColor">
1468 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1469 <CODE> boolean</CODE></FONT></TD>
1470 <TD><CODE><B><A HREF="../../../org/openafs/jafs/User.html#willGrantTickets()">willGrantTickets</A></B>()</CODE>
1473 KAS: Returns whether or not TGS will issue tickets for this user</TD>
1476 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
1477 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
1478 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
1479 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></B></TD>
1481 <TR BGCOLOR="white" CLASS="TableRowColor">
1482 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
1488 <!-- ============ FIELD DETAIL =========== -->
1490 <A NAME="field_detail"><!-- --></A>
1491 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
1492 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1493 <TD COLSPAN=1><FONT SIZE="+2">
1494 <B>Field Detail</B></FONT></TD>
1498 <A NAME="USER_OWNER_ACCESS"><!-- --></A><H3>
1499 USER_OWNER_ACCESS</H3>
1501 public static final int <B>USER_OWNER_ACCESS</B></PRE>
1503 <DD>Only the owner of the user has access
1506 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.USER_OWNER_ACCESS">Constant Field Values</A></DL>
1510 <A NAME="USER_ANYUSER_ACCESS"><!-- --></A><H3>
1511 USER_ANYUSER_ACCESS</H3>
1513 public static final int <B>USER_ANYUSER_ACCESS</B></PRE>
1515 <DD>Any user has access
1518 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.USER_ANYUSER_ACCESS">Constant Field Values</A></DL>
1522 <A NAME="ADMIN"><!-- --></A><H3>
1525 public static final int <B>ADMIN</B></PRE>
1527 <DD>User has administrative kas privileges
1530 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.ADMIN">Constant Field Values</A></DL>
1534 <A NAME="NO_ADMIN"><!-- --></A><H3>
1537 public static final int <B>NO_ADMIN</B></PRE>
1539 <DD>User has no administrative kas privileges
1542 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.NO_ADMIN">Constant Field Values</A></DL>
1546 <A NAME="GRANT_TICKETS"><!-- --></A><H3>
1549 public static final int <B>GRANT_TICKETS</B></PRE>
1551 <DD>TGS will grant tickets for user
1554 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.GRANT_TICKETS">Constant Field Values</A></DL>
1558 <A NAME="NO_GRANT_TICKETS"><!-- --></A><H3>
1559 NO_GRANT_TICKETS</H3>
1561 public static final int <B>NO_GRANT_TICKETS</B></PRE>
1563 <DD>TGS will not grant tickets for user
1566 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.NO_GRANT_TICKETS">Constant Field Values</A></DL>
1570 <A NAME="ENCRYPT"><!-- --></A><H3>
1573 public static final int <B>ENCRYPT</B></PRE>
1575 <DD>TGS can use user's key for an encryption key
1578 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.ENCRYPT">Constant Field Values</A></DL>
1582 <A NAME="NO_ENCRYPT"><!-- --></A><H3>
1585 public static final int <B>NO_ENCRYPT</B></PRE>
1587 <DD>TGS cannot use user's key for an encryption key
1590 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.NO_ENCRYPT">Constant Field Values</A></DL>
1594 <A NAME="CHANGE_PASSWORD"><!-- --></A><H3>
1595 CHANGE_PASSWORD</H3>
1597 public static final int <B>CHANGE_PASSWORD</B></PRE>
1599 <DD>User can change their password
1602 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.CHANGE_PASSWORD">Constant Field Values</A></DL>
1606 <A NAME="NO_CHANGE_PASSWORD"><!-- --></A><H3>
1607 NO_CHANGE_PASSWORD</H3>
1609 public static final int <B>NO_CHANGE_PASSWORD</B></PRE>
1611 <DD>User cannot change their password
1614 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.NO_CHANGE_PASSWORD">Constant Field Values</A></DL>
1618 <A NAME="REUSE_PASSWORD"><!-- --></A><H3>
1621 public static final int <B>REUSE_PASSWORD</B></PRE>
1623 <DD>User can reuse their password
1626 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.REUSE_PASSWORD">Constant Field Values</A></DL>
1630 <A NAME="NO_REUSE_PASSWORD"><!-- --></A><H3>
1631 NO_REUSE_PASSWORD</H3>
1633 public static final int <B>NO_REUSE_PASSWORD</B></PRE>
1635 <DD>User cannot reuse their password
1638 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.User.NO_REUSE_PASSWORD">Constant Field Values</A></DL>
1642 <A NAME="cell"><!-- --></A><H3>
1645 protected <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> <B>cell</B></PRE>
1652 <A NAME="cellHandle"><!-- --></A><H3>
1655 protected int <B>cellHandle</B></PRE>
1662 <A NAME="name"><!-- --></A><H3>
1665 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>name</B></PRE>
1672 <A NAME="kas"><!-- --></A><H3>
1675 protected boolean <B>kas</B></PRE>
1677 <DD>Does this user have a kas entry?
1684 <A NAME="pts"><!-- --></A><H3>
1687 protected boolean <B>pts</B></PRE>
1689 <DD>Does this user have a pts entry?
1696 <A NAME="groupCreationQuota"><!-- --></A><H3>
1697 groupCreationQuota</H3>
1699 protected int <B>groupCreationQuota</B></PRE>
1706 <A NAME="groupMembershipCount"><!-- --></A><H3>
1707 groupMembershipCount</H3>
1709 protected int <B>groupMembershipCount</B></PRE>
1716 <A NAME="nameUID"><!-- --></A><H3>
1719 protected int <B>nameUID</B></PRE>
1726 <A NAME="ownerUID"><!-- --></A><H3>
1729 protected int <B>ownerUID</B></PRE>
1736 <A NAME="creatorUID"><!-- --></A><H3>
1739 protected int <B>creatorUID</B></PRE>
1746 <A NAME="listStatus"><!-- --></A><H3>
1749 protected int <B>listStatus</B></PRE>
1751 <DD>who is allowed to execute pts examine for this user. Valid values are:
1753 <li><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A>
1754 -- only the owner has permission</li>
1755 <li><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A>
1756 -- any user has permission</li></ul>
1763 <A NAME="listGroupsOwned"><!-- --></A><H3>
1764 listGroupsOwned</H3>
1766 protected int <B>listGroupsOwned</B></PRE>
1768 <DD>who is allowed to execute pts listowned for this user. Valid values are:
1770 <li><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A>
1771 -- only the owner has permission</li>
1772 <li><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A>
1773 -- any user has permission</li></ul>
1780 <A NAME="listMembership"><!-- --></A><H3>
1783 protected int <B>listMembership</B></PRE>
1785 <DD>who is allowed to execute pts membership for this user. Valid values are:
1787 <li><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A>
1788 -- only the owner has permission</li>
1789 <li><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A>
1790 -- any user has permission</li></ul>
1797 <A NAME="owner"><!-- --></A><H3>
1800 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>owner</B></PRE>
1807 <A NAME="creator"><!-- --></A><H3>
1810 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>creator</B></PRE>
1817 <A NAME="groups"><!-- --></A><H3>
1820 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A> <B>groups</B></PRE>
1827 <A NAME="groupNames"><!-- --></A><H3>
1830 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A> <B>groupNames</B></PRE>
1837 <A NAME="groupsOwned"><!-- --></A><H3>
1840 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A> <B>groupsOwned</B></PRE>
1847 <A NAME="groupsOwnedNames"><!-- --></A><H3>
1848 groupsOwnedNames</H3>
1850 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html">ArrayList</A> <B>groupsOwnedNames</B></PRE>
1857 <A NAME="adminSetting"><!-- --></A><H3>
1860 protected int <B>adminSetting</B></PRE>
1862 <DD>whether or not this user has kas administrative privileges.
1865 <li><A HREF="../../../org/openafs/jafs/User.html#ADMIN"><CODE>ADMIN</CODE></A></li>
1866 <li><A HREF="../../../org/openafs/jafs/User.html#NO_ADMIN"><CODE>NO_ADMIN</CODE></A></li></ul>
1873 <A NAME="tgsSetting"><!-- --></A><H3>
1876 protected int <B>tgsSetting</B></PRE>
1878 <DD>whether the TGS will grant tickets for this user. Valid values are:
1880 <li><A HREF="../../../org/openafs/jafs/User.html#GRANT_TICKETS"><CODE>GRANT_TICKETS</CODE></A></li>
1881 <li><A HREF="../../../org/openafs/jafs/User.html#NO_GRANT_TICKETS"><CODE>NO_GRANT_TICKETS</CODE></A></li></ul>
1888 <A NAME="encSetting"><!-- --></A><H3>
1891 protected int <B>encSetting</B></PRE>
1893 <DD>whether the TGS can use this user's key as an encryption key. Valid values are:
1895 <li><A HREF="../../../org/openafs/jafs/User.html#ENCRYPT"><CODE>ENCRYPT</CODE></A></li>
1896 <li><A HREF="../../../org/openafs/jafs/User.html#NO_ENCRYPT"><CODE>NO_ENCRYPT</CODE></A></li></ul>
1903 <A NAME="cpwSetting"><!-- --></A><H3>
1906 protected int <B>cpwSetting</B></PRE>
1908 <DD>whether this user is allowed to change its password. Valid values are:
1910 <li><A HREF="../../../org/openafs/jafs/User.html#CHANGE_PASSWORD"><CODE>CHANGE_PASSWORD</CODE></A></li>
1911 <li><A HREF="../../../org/openafs/jafs/User.html#NO_CHANGE_PASSWORD"><CODE>NO_CHANGE_PASSWORD</CODE></A></li></ul>
1918 <A NAME="rpwSetting"><!-- --></A><H3>
1921 protected int <B>rpwSetting</B></PRE>
1923 <DD>whether this user is allowed to reuse its password. Valid values are:
1925 <li><A HREF="../../../org/openafs/jafs/User.html#REUSE_PASSWORD"><CODE>REUSE_PASSWORD</CODE></A></li>
1926 <li><A HREF="../../../org/openafs/jafs/User.html#NO_REUSE_PASSWORD"><CODE>NO_REUSE_PASSWORD</CODE></A></li></ul>
1933 <A NAME="userExpiration"><!-- --></A><H3>
1936 protected int <B>userExpiration</B></PRE>
1943 <A NAME="lastModTime"><!-- --></A><H3>
1946 protected int <B>lastModTime</B></PRE>
1953 <A NAME="lastModName"><!-- --></A><H3>
1956 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>lastModName</B></PRE>
1963 <A NAME="lastChangePasswordTime"><!-- --></A><H3>
1964 lastChangePasswordTime</H3>
1966 protected int <B>lastChangePasswordTime</B></PRE>
1973 <A NAME="maxTicketLifetime"><!-- --></A><H3>
1974 maxTicketLifetime</H3>
1976 protected int <B>maxTicketLifetime</B></PRE>
1983 <A NAME="keyVersion"><!-- --></A><H3>
1986 protected int <B>keyVersion</B></PRE>
1993 <A NAME="encryptionKey"><!-- --></A><H3>
1996 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>encryptionKey</B></PRE>
2003 <A NAME="keyCheckSum"><!-- --></A><H3>
2006 protected long <B>keyCheckSum</B></PRE>
2013 <A NAME="daysToPasswordExpire"><!-- --></A><H3>
2014 daysToPasswordExpire</H3>
2016 protected int <B>daysToPasswordExpire</B></PRE>
2023 <A NAME="failLoginCount"><!-- --></A><H3>
2026 protected int <B>failLoginCount</B></PRE>
2033 <A NAME="lockTime"><!-- --></A><H3>
2036 protected int <B>lockTime</B></PRE>
2043 <A NAME="lockedUntil"><!-- --></A><H3>
2046 protected int <B>lockedUntil</B></PRE>
2053 <A NAME="lockedUntilDate"><!-- --></A><H3>
2054 lockedUntilDate</H3>
2056 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>lockedUntilDate</B></PRE>
2063 <A NAME="userExpirationDate"><!-- --></A><H3>
2064 userExpirationDate</H3>
2066 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>userExpirationDate</B></PRE>
2073 <A NAME="lastModTimeDate"><!-- --></A><H3>
2074 lastModTimeDate</H3>
2076 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>lastModTimeDate</B></PRE>
2083 <A NAME="lastChangePasswordTimeDate"><!-- --></A><H3>
2084 lastChangePasswordTimeDate</H3>
2086 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>lastChangePasswordTimeDate</B></PRE>
2093 <A NAME="cachedInfo"><!-- --></A><H3>
2096 protected boolean <B>cachedInfo</B></PRE>
2098 <DD>Whether or not the information fields of this user have been filled.
2104 <!-- ========= CONSTRUCTOR DETAIL ======== -->
2106 <A NAME="constructor_detail"><!-- --></A>
2107 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
2108 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
2109 <TD COLSPAN=1><FONT SIZE="+2">
2110 <B>Constructor Detail</B></FONT></TD>
2114 <A NAME="User(java.lang.String, org.openafs.jafs.Cell)"><!-- --></A><H3>
2117 public <B>User</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
2118 <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell)
2119 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2121 <DD>Constructs a new <code>User</code> object instance given the name
2122 of the AFS user and the AFS cell, represented by
2123 <CODE>cell</CODE>, to which it belongs. This does not actually
2124 create a new AFS user, it just represents one.
2125 If <code>name</code> is not an actual AFS user, exceptions
2126 will be thrown during subsequent method invocations on this
2127 object, unless the <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String, int)"><CODE>create(String, int)</CODE></A> or <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String)"><CODE>create(String)</CODE></A>
2128 method is explicitly called to create it.
2130 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the user to represent<DD><CODE>cell</CODE> - the cell to which the user belongs.
2132 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2135 <A NAME="User(java.lang.String, org.openafs.jafs.Cell, boolean)"><!-- --></A><H3>
2138 public <B>User</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
2139 <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell,
2140 boolean preloadAllMembers)
2141 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2143 <DD>Constructs a new <code>User</code> object instance given the name
2144 of the AFS user and the AFS cell, represented by
2145 <CODE>cell</CODE>, to which it belongs. This does not actually
2146 create a new AFS user, it just represents one.
2147 If <code>name</code> is not an actual AFS user, exceptions
2148 will be thrown during subsequent method invocations on this
2149 object, unless the <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String, int)"><CODE>create(String, int)</CODE></A> or <A HREF="../../../org/openafs/jafs/User.html#create(java.lang.String)"><CODE>create(String)</CODE></A>
2150 method is explicitly called to create it. Note that if the process
2151 doesn't exist and <code>preloadAllMembers</code> is true, an exception
2154 <P> This constructor is ideal for point-in-time representation and
2155 transient applications. It ensures all data member values are set and
2156 available without calling back to the filesystem at the first request
2157 for them. Use the <A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A> method to address any coherency
2160 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the user to represent<DD><CODE>cell</CODE> - the cell to which the user belongs.<DD><CODE>preloadAllMembers</CODE> - true will ensure all object members are
2161 set upon construction;
2162 otherwise members will be set upon access,
2163 which is the default behavior.
2165 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2168 <A NAME="User(org.openafs.jafs.Cell)"><!-- --></A><H3>
2171 <B>User</B>(<A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> cell)
2172 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2174 <DD>Constructs a blank <code>User</code> object given the cell to which
2175 the user belongs. This blank object can then be passed into other
2176 methods to fill out its properties.
2178 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - the cell to which the user belongs.
2180 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2182 <!-- ============ METHOD DETAIL ========== -->
2184 <A NAME="method_detail"><!-- --></A>
2185 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
2186 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
2187 <TD COLSPAN=1><FONT SIZE="+2">
2188 <B>Method Detail</B></FONT></TD>
2192 <A NAME="create(java.lang.String)"><!-- --></A><H3>
2195 public void <B>create</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password)
2196 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2198 <DD>Creates the kas and pts entries for a new user in this cell.
2199 Automatically assigns a user id.
2206 <DT><B>Parameters:</B><DD><CODE>password</CODE> - the password for the new user
2208 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2213 <A NAME="create(java.lang.String, int)"><!-- --></A><H3>
2216 public void <B>create</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password,
2218 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2220 <DD>Creates the kas and pts entries for a new user in this cell.
2226 <DT><B>Parameters:</B><DD><CODE>password</CODE> - the password for the new user<DD><CODE>uid</CODE> - the user id to assign to the new user
2228 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2233 <A NAME="delete()"><!-- --></A><H3>
2236 public void <B>delete</B>()
2237 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2239 <DD>Deletes the pts and kas entries for a user in this cell. Deletes this user
2240 from the membership list of the groups to which it belonged, but does not
2241 delete the groups owned by this user. Also nullifies this corresponding
2250 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2255 <A NAME="unlock()"><!-- --></A><H3>
2258 public void <B>unlock</B>()
2259 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2261 <DD>Unlocks the given user if they were locked out of the cell.
2269 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2274 <A NAME="flushInfo()"><!-- --></A><H3>
2277 public void <B>flushInfo</B>()
2278 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2280 <DD>Flushes the current information of this <code>User</code> object to disk.
2281 This will update the information of the actual AFS user to match the
2282 settings that have been modified within this <code>User</code> object.
2283 This function must be called before any changes made to the information
2284 fields of this user will be seen by AFS.
2292 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2297 <A NAME="rename(java.lang.String)"><!-- --></A><H3>
2300 public void <B>rename</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newName)
2301 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2303 <DD>Change the name of this user. Automatically flushes the info of this
2304 user in order to update kas entry of the new name. NOTE: renaming a
2305 locked user will unlock that user.
2311 <DT><B>Parameters:</B><DD><CODE>newName</CODE> - the new name for this user
2313 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2318 <A NAME="refresh()"><!-- --></A><H3>
2321 public void <B>refresh</B>()
2322 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2324 <DD>Refreshes the properties of this User object instance with values from
2325 the AFS user it represents. All properties that have been initialized
2326 and/or accessed will be renewed according to the values of the AFS user
2327 this User object instance represents.
2329 <P>Since in most environments administrative changes can be administered
2330 from an AFS command-line program or an alternate GUI application, this
2331 method provides a means to refresh the Java object representation and
2332 thereby ascertain any possible modifications that may have been made
2333 from such alternate administrative programs. Using this method before
2334 an associated instance accessor will ensure the highest level of
2335 representative accuracy, accommodating changes made external to the
2336 Java application space. If administrative changes to the underlying AFS
2337 system are only allowed via this API, then the use of this method is
2346 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2351 <A NAME="refresh(boolean)"><!-- --></A><H3>
2354 protected void <B>refresh</B>(boolean all)
2355 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2357 <DD>Refreshes the properties of this User object instance with values from
2358 the AFS user it represents. If <CODE>all</CODE> is <CODE>true</CODE>
2359 then <U>all</U> of the properties of this User object instance will be
2360 set, or renewed, according to the values of the AFS user it represents,
2361 disregarding any previously set properties.
2363 <P> Thus, if <CODE>all</CODE> is <CODE>false</CODE> then properties that
2364 are currently set will be refreshed and properties that are not set will
2365 remain uninitialized. See <A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A> for more information.
2371 <DT><B>Parameters:</B><DD><CODE>all</CODE> - if true set or renew all object properties; otherwise renew
2374 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2379 <A NAME="refreshInfo()"><!-- --></A><H3>
2382 protected void <B>refreshInfo</B>()
2383 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2385 <DD>Refreshes the information fields of this <code>User</code> to reflect
2386 the current state of the AFS user. Does not refresh the groups to which
2387 the user belongs or groups owned by the user.
2395 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2400 <A NAME="refreshGroupNames()"><!-- --></A><H3>
2401 refreshGroupNames</H3>
2403 protected void <B>refreshGroupNames</B>()
2404 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2406 <DD>Refreshes the current information about the group names to which the
2407 user belongs. Does not refresh the information fields of the user or
2416 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2421 <A NAME="refreshGroups()"><!-- --></A><H3>
2424 protected void <B>refreshGroups</B>()
2425 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2427 <DD>Refreshes the current information about the group objects to which the
2428 user belongs. Does not refresh the information fields of the user or
2437 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2442 <A NAME="refreshGroupsOwnedNames()"><!-- --></A><H3>
2443 refreshGroupsOwnedNames</H3>
2445 protected void <B>refreshGroupsOwnedNames</B>()
2446 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2448 <DD>Refreshes the current information about the group names that the user
2449 owns. Does not refresh the information fields of the user or the groups
2458 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2463 <A NAME="refreshGroupsOwned()"><!-- --></A><H3>
2464 refreshGroupsOwned</H3>
2466 protected void <B>refreshGroupsOwned</B>()
2467 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2469 <DD>Refreshes the current information about the group objects that the user \
2470 owns. Does not refresh the information fields of the user or the groups
2479 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
2484 <A NAME="getName()"><!-- --></A><H3>
2487 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
2489 <DD>Returns the name of this user.
2492 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2496 <DT><B>Returns:</B><DD>the name of this user</DL>
2501 <A NAME="getCell()"><!-- --></A><H3>
2504 public <A HREF="../../../org/openafs/jafs/Cell.html">Cell</A> <B>getCell</B>()</PRE>
2506 <DD>Returns the Cell this user belongs to.
2509 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getCell()">getCell</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2513 <DT><B>Returns:</B><DD>the Cell this user belongs to</DL>
2518 <A NAME="isKAS()"><!-- --></A><H3>
2521 public boolean <B>isKAS</B>()
2522 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2524 <DD>Returns whether or not this user has a kas entry.
2531 <DT><B>Returns:</B><DD>whether or not this user has a kas entry
2533 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2538 <A NAME="isPTS()"><!-- --></A><H3>
2541 public boolean <B>isPTS</B>()
2542 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2544 <DD>Returns whether or not this user has a pts entry.
2551 <DT><B>Returns:</B><DD>whether or not this user has a pts entry
2553 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2558 <A NAME="getGroups()"><!-- --></A><H3>
2561 public <A HREF="../../../org/openafs/jafs/Group.html">Group</A>[] <B>getGroups</B>()
2562 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2564 <DD>PTS: Returns an array of the <code>Group</code> objects
2565 to which this user belongs.
2572 <DT><B>Returns:</B><DD>an array of the groups to which this user belongs
2574 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2579 <A NAME="getGroupsOwnedCount()"><!-- --></A><H3>
2580 getGroupsOwnedCount</H3>
2582 public int <B>getGroupsOwnedCount</B>()
2583 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2585 <DD>PTS: Returns the total count of groups this user owns.
2587 <P>If the total list of groups or group names have already been
2588 collected (see <A HREF="../../../org/openafs/jafs/User.html#getGroupsOwned()"><CODE>getGroupsOwned()</CODE></A>), then the returning value
2589 will be calculated based upon the current list. Otherwise, PTS will
2590 be explicitly queried for the information.
2597 <DT><B>Returns:</B><DD>total count of groups this user owns
2599 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwned()"><CODE>getGroupsOwned()</CODE></A>,
2600 <A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedNames()"><CODE>getGroupsOwnedNames()</CODE></A></DL>
2605 <A NAME="getGroupsOwned()"><!-- --></A><H3>
2608 public <A HREF="../../../org/openafs/jafs/Group.html">Group</A>[] <B>getGroupsOwned</B>()
2609 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2611 <DD>PTS: Returns an array of the <code>Group</code> objects
2619 <DT><B>Returns:</B><DD>an array of the <code>Groups</code> this user owns
2621 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2626 <A NAME="getGroupNames()"><!-- --></A><H3>
2629 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[] <B>getGroupNames</B>()
2630 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2632 <DD>PTS: Returns a <code>String</code> array of the group names
2633 to which this user belongs.
2640 <DT><B>Returns:</B><DD>a <code>String</code> array of the groups to which this
2643 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2648 <A NAME="getGroupsOwnedNames()"><!-- --></A><H3>
2649 getGroupsOwnedNames</H3>
2651 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[] <B>getGroupsOwnedNames</B>()
2652 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2654 <DD>PTS: Returns a <code>String</code> array of the group names
2662 <DT><B>Returns:</B><DD>a <code>String</code> array of the groups this user owns
2664 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2669 <A NAME="getUID()"><!-- --></A><H3>
2672 public int <B>getUID</B>()
2673 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2675 <DD>PTS: Returns the numeric AFS id of this user.
2678 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getUID()">getUID</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2682 <DT><B>Returns:</B><DD>the AFS id of this user
2684 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2689 <A NAME="getGroupCreationQuota()"><!-- --></A><H3>
2690 getGroupCreationQuota</H3>
2692 public int <B>getGroupCreationQuota</B>()
2693 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2695 <DD>PTS: Returns how many more groups this user is allowed to create.
2696 -1 indicates unlimited.
2703 <DT><B>Returns:</B><DD>the group creation quota
2705 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2710 <A NAME="getGroupMembershipCount()"><!-- --></A><H3>
2711 getGroupMembershipCount</H3>
2713 public int <B>getGroupMembershipCount</B>()
2714 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2716 <DD>PTS: Returns the number of groups to which this user belongs.
2723 <DT><B>Returns:</B><DD>the group membership count
2725 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2730 <A NAME="getOwner()"><!-- --></A><H3>
2733 public <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A> <B>getOwner</B>()
2734 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2736 <DD>PTS: Returns the owner of this user in the form of a <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>.
2738 <P>The returning object could be either a <A HREF="../../../org/openafs/jafs/User.html"><CODE>User</CODE></A> or <A HREF="../../../org/openafs/jafs/Group.html"><CODE>Group</CODE></A>;
2739 to determine what type of object the <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A> represents,
2740 call the <A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()"><CODE>PTSEntry.getType()</CODE></A> method.
2743 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getOwner()">getOwner</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2747 <DT><B>Returns:</B><DD>the owner of this user
2749 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>,
2750 <A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()"><CODE>PTSEntry.getType()</CODE></A>,
2751 <A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2756 <A NAME="getCreator()"><!-- --></A><H3>
2759 public <A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A> <B>getCreator</B>()
2760 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2762 <DD>PTS: Returns the creator of this user in the form of a <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>.
2764 <P>The returning object could be either a <A HREF="../../../org/openafs/jafs/User.html"><CODE>User</CODE></A> or <A HREF="../../../org/openafs/jafs/Group.html"><CODE>Group</CODE></A>;
2765 to determine what type of object the <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A> represents,
2766 call the <A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()"><CODE>PTSEntry.getType()</CODE></A> method.
2769 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getCreator()">getCreator</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2773 <DT><B>Returns:</B><DD>the creator of this user
2775 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>,
2776 <A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()"><CODE>PTSEntry.getType()</CODE></A>,
2777 <A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2782 <A NAME="getType()"><!-- --></A><H3>
2785 public short <B>getType</B>()</PRE>
2787 <DD>Returns the type of <A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A> this object represents.
2789 <P>This method will always return <A HREF="../../../org/openafs/jafs/PTSEntry.html#PTS_USER"><CODE>PTSEntry.PTS_USER</CODE></A>.
2792 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../../org/openafs/jafs/PTSEntry.html">PTSEntry</A></CODE></DL>
2796 <DT><B>Returns:</B><DD>the type of PTSEntry this object represents
2797 (will always return <A HREF="../../../org/openafs/jafs/PTSEntry.html#PTS_USER"><CODE>PTSEntry.PTS_USER</CODE></A>)<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/PTSEntry.html"><CODE>PTSEntry</CODE></A>,
2798 <A HREF="../../../org/openafs/jafs/PTSEntry.html#getType()"><CODE>PTSEntry.getType()</CODE></A></DL>
2803 <A NAME="getListStatus()"><!-- --></A><H3>
2806 public int <B>getListStatus</B>()
2807 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2809 <DD>PTS: Returns who can list the status (pts examine) of this user.
2812 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
2813 -- only the owner has permission</li>
2814 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
2815 -- any user has permission</li>
2823 <DT><B>Returns:</B><DD>the status listing permission
2825 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2830 <A NAME="getListGroupsOwned()"><!-- --></A><H3>
2831 getListGroupsOwned</H3>
2833 public int <B>getListGroupsOwned</B>()
2834 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2836 <DD>PTS: Returns who can list the groups owned (pts listowned) by this user.
2839 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
2840 -- only the owner has permission</li>
2841 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
2842 -- any user has permission</li>
2850 <DT><B>Returns:</B><DD>the groups owned listing permission
2852 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2857 <A NAME="getListMembership()"><!-- --></A><H3>
2858 getListMembership</H3>
2860 public int <B>getListMembership</B>()
2861 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2863 <DD>PTS: Returns who can list the groups (pts membership) to which this
2867 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
2868 -- only the owner has permission</li>
2869 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
2870 -- any user has permission</li>
2878 <DT><B>Returns:</B><DD>the membership listing permission
2880 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2885 <A NAME="isAdmin()"><!-- --></A><H3>
2888 public boolean <B>isAdmin</B>()
2889 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2891 <DD>KAS: Returns whether or not this user has kas administrative privileges
2898 <DT><B>Returns:</B><DD>whether or not this user has kas administrative priveleges
2900 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2905 <A NAME="willGrantTickets()"><!-- --></A><H3>
2906 willGrantTickets</H3>
2908 public boolean <B>willGrantTickets</B>()
2909 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2911 <DD>KAS: Returns whether or not TGS will issue tickets for this user
2918 <DT><B>Returns:</B><DD>whether or not TGS will issue tickets for this user
2920 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2925 <A NAME="canEncrypt()"><!-- --></A><H3>
2928 public boolean <B>canEncrypt</B>()
2929 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2931 <DD>KAS: Returns whether or not TGS can use this users ticket for an encryption key
2938 <DT><B>Returns:</B><DD>whether or not TGS can use this users ticket for an encryption key
2940 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2945 <A NAME="canChangePassword()"><!-- --></A><H3>
2946 canChangePassword</H3>
2948 public boolean <B>canChangePassword</B>()
2949 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2951 <DD>KAS: Returns whether or not the user can change their password
2958 <DT><B>Returns:</B><DD>whether or not the user can change their password
2960 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2965 <A NAME="canReusePassword()"><!-- --></A><H3>
2966 canReusePassword</H3>
2968 public boolean <B>canReusePassword</B>()
2969 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2971 <DD>KAS: Returns whether or not the user can reuse their password
2978 <DT><B>Returns:</B><DD>whether or not the user can reuse their password
2980 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
2985 <A NAME="getUserExpiration()"><!-- --></A><H3>
2986 getUserExpiration</H3>
2988 public int <B>getUserExpiration</B>()
2989 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2991 <DD>KAS: Returns the date and time the user expires.
2992 A <code>null</code> value indicates the user never exipres (or that
2993 there is no kas entry for this user).
3000 <DT><B>Returns:</B><DD>the date and time the user expires
3002 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3007 <A NAME="getUserExpirationDate()"><!-- --></A><H3>
3008 getUserExpirationDate</H3>
3010 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getUserExpirationDate</B>()
3011 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3013 <DD>KAS: Returns the date and time the user expires.
3014 A <code>null</code> value indicates the user never expires (or that
3015 there is no kas entry for this user).
3022 <DT><B>Returns:</B><DD>the date and time the user expires
3024 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3029 <A NAME="getLastModTime()"><!-- --></A><H3>
3032 public int <B>getLastModTime</B>()
3033 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3035 <DD>KAS: Returns the date and time (in UTC) the user's KAS entry was
3043 <DT><B>Returns:</B><DD>the date and time (in UTC) the user was last modified
3045 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3050 <A NAME="getLastModTimeDate()"><!-- --></A><H3>
3051 getLastModTimeDate</H3>
3053 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getLastModTimeDate</B>()
3054 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3056 <DD>KAS: Returns the date and time the user was last modified.
3063 <DT><B>Returns:</B><DD>the date and time the user was last modified
3065 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3070 <A NAME="getLastModName()"><!-- --></A><H3>
3073 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getLastModName</B>()
3074 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3076 <DD>KAS: Returns the name of the user that last modified this user.
3083 <DT><B>Returns:</B><DD>the name of this user that last modified this user.
3085 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3090 <A NAME="getLastChangePasswordTimeDate()"><!-- --></A><H3>
3091 getLastChangePasswordTimeDate</H3>
3093 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getLastChangePasswordTimeDate</B>()
3094 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3096 <DD>KAS: Returns the last date and time the user changed its password.
3103 <DT><B>Returns:</B><DD>the last date and time the user changed its password.
3105 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3110 <A NAME="getLastChangePasswordTime()"><!-- --></A><H3>
3111 getLastChangePasswordTime</H3>
3113 public int <B>getLastChangePasswordTime</B>()
3114 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3116 <DD>KAS: Returns the last date and time (in UTC) the user changed
3124 <DT><B>Returns:</B><DD>the last date and time (in UTC) the user changed its password.
3126 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3131 <A NAME="getMaxTicketLifetime()"><!-- --></A><H3>
3132 getMaxTicketLifetime</H3>
3134 public int <B>getMaxTicketLifetime</B>()
3135 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3137 <DD>KAS: Returns the maximum lifetime of a ticket issued to this user
3145 <DT><B>Returns:</B><DD>the maximum lifetime of a ticket issued to this user (in seconds).
3147 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3152 <A NAME="getDaysToPasswordExpire()"><!-- --></A><H3>
3153 getDaysToPasswordExpire</H3>
3155 public int <B>getDaysToPasswordExpire</B>()
3156 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3158 <DD>KAS: Returns the number of days a password is valid before it expires.
3159 A value of 0 indicates passwords never expire.
3166 <DT><B>Returns:</B><DD>the number of days for which a password is valid
3168 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3173 <A NAME="getFailLoginCount()"><!-- --></A><H3>
3174 getFailLoginCount</H3>
3176 public int <B>getFailLoginCount</B>()
3177 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3179 <DD>KAS: Returns the number of failed login attempts this user is allowed
3180 before being locked out. A value of 0 indicates there is no limit.
3187 <DT><B>Returns:</B><DD>the number of failed login attempts a user is allowed
3189 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3194 <A NAME="getLockTime()"><!-- --></A><H3>
3197 public int <B>getLockTime</B>()
3198 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3200 <DD>KAS: Returns the amount of time (in seconds) a user is locked out when
3201 it exceeds the maximum number of allowable failed login attempts.
3202 A value of 0 indicates an infinite lockout time.
3209 <DT><B>Returns:</B><DD>the number of failed login attempts a user is allowed
3211 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3216 <A NAME="getEncryptionKey()"><!-- --></A><H3>
3217 getEncryptionKey</H3>
3219 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getEncryptionKey</B>()
3220 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3222 <DD>KAS: Returns the encryption key, in octal form, of this user. An
3223 example of a key in octal form is:
3224 '\040\205\211\241\345\002\023\211'.
3231 <DT><B>Returns:</B><DD>the encryption key
3233 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3238 <A NAME="getKeyCheckSum()"><!-- --></A><H3>
3241 public long <B>getKeyCheckSum</B>()
3242 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3244 <DD>KAS: Returns the check sum of this user's key.
3251 <DT><B>Returns:</B><DD>the check sum
3253 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3258 <A NAME="getKeyVersion()"><!-- --></A><H3>
3261 public int <B>getKeyVersion</B>()
3262 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3264 <DD>KAS: Returns the version number of the user's key.
3271 <DT><B>Returns:</B><DD>the key version
3273 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3278 <A NAME="getLockedUntil()"><!-- --></A><H3>
3281 public int <B>getLockedUntil</B>()
3282 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3284 <DD>KAS: Returns the date and time (in UTC) at which the user stops
3285 being locked out. A value of 0 indicates the user is not currently
3286 locked out. If the user is locked out forever, the value
3287 will be equal to -1.
3294 <DT><B>Returns:</B><DD>the date and time (in UTC) at which the user stops being
3297 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3302 <A NAME="getLockedUntilDate()"><!-- --></A><H3>
3303 getLockedUntilDate</H3>
3305 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getLockedUntilDate</B>()
3306 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3308 <DD>KAS: Returns the date and time at which the user stops being locked out.
3309 A value of <code>null</code> indicates the user is not currently locked
3310 out. If the user is locked out forever, the value
3311 <code>getLockedUntil().getTime().getTime()</code> will be equal to -1.
3318 <DT><B>Returns:</B><DD>the date and time at which the user stops being locked out
3320 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#refresh()"><CODE>refresh()</CODE></A></DL>
3325 <A NAME="setGroupCreationQuota(int)"><!-- --></A><H3>
3326 setGroupCreationQuota</H3>
3328 public void <B>setGroupCreationQuota</B>(int quota)</PRE>
3330 <DD>PTS: Sets how many more groups this user is allowed to create.
3331 -1 indicates unlimited.
3337 <DT><B>Parameters:</B><DD><CODE>quota</CODE> - the new group creation quota</DL>
3342 <A NAME="setListStatus(int)"><!-- --></A><H3>
3345 public void <B>setListStatus</B>(int value)
3346 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3348 <DD>PTS: Sets who can list the status (pts examine) of this user.
3351 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
3352 -- only the owner has permission</li>
3353 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
3354 -- any user has permission</li>
3361 <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value of the new list status permission
3363 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - if an error occurs in the native code
3364 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if an invalud argument is provided</DL>
3369 <A NAME="setListGroupsOwned(int)"><!-- --></A><H3>
3370 setListGroupsOwned</H3>
3372 public void <B>setListGroupsOwned</B>(int value)
3373 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3375 <DD>PTS: Sets who can list the groups owned (pts listowned) by this user.
3378 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
3379 -- only the owner has permission</li>
3380 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
3381 -- any user has permission</li>
3388 <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value of the new list groups owned permission
3390 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - if an error occurs in the native code
3391 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if an invalud argument is provided</DL>
3396 <A NAME="setListMembership(int)"><!-- --></A><H3>
3397 setListMembership</H3>
3399 public void <B>setListMembership</B>(int value)
3400 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3402 <DD>PTS: Sets who can list the groups (pts membership) to which this
3406 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_OWNER_ACCESS"><CODE>USER_OWNER_ACCESS</CODE></A></code>
3407 -- only the owner has permission</li>
3408 <li><code><A HREF="../../../org/openafs/jafs/User.html#USER_ANYUSER_ACCESS"><CODE>USER_ANYUSER_ACCESS</CODE></A></code>
3409 -- any user has permission</li>
3416 <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value of the new list membership permission
3418 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - if an error occurs in the native code
3419 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if an invalud argument is provided</DL>
3424 <A NAME="setAdmin(boolean)"><!-- --></A><H3>
3427 public void <B>setAdmin</B>(boolean setting)</PRE>
3429 <DD>KAS: Sets whether or not this user has kas administrative privileges
3435 <DT><B>Parameters:</B><DD><CODE>setting</CODE> - whether or not this user has kas
3436 administrative privileges</DL>
3441 <A NAME="setGrantTickets(boolean)"><!-- --></A><H3>
3442 setGrantTickets</H3>
3444 public void <B>setGrantTickets</B>(boolean setting)</PRE>
3446 <DD>KAS: Sets whether or not TGS will issue tickets for this user
3452 <DT><B>Parameters:</B><DD><CODE>setting</CODE> - whether or not TGS will issue tickets for this user</DL>
3457 <A NAME="setEncrypt(boolean)"><!-- --></A><H3>
3460 public void <B>setEncrypt</B>(boolean setting)</PRE>
3462 <DD>KAS: Sets whether or not TGS can use this users ticket for an
3469 <DT><B>Parameters:</B><DD><CODE>setting</CODE> - whether or not TGS can use this users ticket for an
3475 <A NAME="setChangePassword(boolean)"><!-- --></A><H3>
3476 setChangePassword</H3>
3478 public void <B>setChangePassword</B>(boolean setting)</PRE>
3480 <DD>KAS: Sets whether or not the user can change their password
3486 <DT><B>Parameters:</B><DD><CODE>setting</CODE> - whether or not the user can change their password</DL>
3491 <A NAME="setReusePassword(boolean)"><!-- --></A><H3>
3492 setReusePassword</H3>
3494 public void <B>setReusePassword</B>(boolean setting)</PRE>
3496 <DD>KAS: Sets whether or not the user can reuse their password
3502 <DT><B>Parameters:</B><DD><CODE>setting</CODE> - whether or not the user can reuse their password</DL>
3507 <A NAME="setUserExpiration(java.util.GregorianCalendar)"><!-- --></A><H3>
3508 setUserExpiration</H3>
3510 public void <B>setUserExpiration</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> expirationDate)</PRE>
3512 <DD>KAS: Sets the date and time the user expires.
3513 A <code>null</code> value indicates the user never exipres.
3519 <DT><B>Parameters:</B><DD><CODE>expirationDate</CODE> - the date and time the user expires</DL>
3524 <A NAME="setMaxTicketLifetime(int)"><!-- --></A><H3>
3525 setMaxTicketLifetime</H3>
3527 public void <B>setMaxTicketLifetime</B>(int seconds)</PRE>
3529 <DD>KAS: Sets the maximum lifetime of a ticket issued to this user
3536 <DT><B>Parameters:</B><DD><CODE>seconds</CODE> - the maximum lifetime of a ticket issued to this user (in seconds).</DL>
3541 <A NAME="setDaysToPasswordExpire(int)"><!-- --></A><H3>
3542 setDaysToPasswordExpire</H3>
3544 public void <B>setDaysToPasswordExpire</B>(int days)</PRE>
3546 <DD>KAS: Sets the number of days a password is valid before it expires.
3547 A value of 0 indicates passwords never expire.
3553 <DT><B>Parameters:</B><DD><CODE>days</CODE> - the number of days for which a password is valid</DL>
3558 <A NAME="setFailLoginCount(int)"><!-- --></A><H3>
3559 setFailLoginCount</H3>
3561 public void <B>setFailLoginCount</B>(int logins)</PRE>
3563 <DD>KAS: Sets the number of failed login attempts this user is allowed before
3564 being locked out. A value of 0 indicates there is no limit.
3570 <DT><B>Parameters:</B><DD><CODE>logins</CODE> - the number of failed login attempts a user is allowed</DL>
3575 <A NAME="setLockTime(int)"><!-- --></A><H3>
3578 public void <B>setLockTime</B>(int seconds)</PRE>
3580 <DD>KAS: Sets the amount of time (in seconds) a user is locked out when it
3581 exceeds the maximum number of allowable failed login attempts.
3582 A value of 0 indicates an infinite lockout time. Any nonzero value gets
3583 rounded up to the next highest multiple of 8.5 minutes, and any value over
3584 36 hours gets rounded down to 36 hours.
3590 <DT><B>Parameters:</B><DD><CODE>seconds</CODE> - the number of failed login attempts a user is allowed</DL>
3595 <A NAME="setPassword(java.lang.String)"><!-- --></A><H3>
3598 public void <B>setPassword</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newPassword)
3599 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3601 <DD>Sets the password of this user to something new. Sets the key version
3608 <DT><B>Parameters:</B><DD><CODE>newPassword</CODE> - the new password for this user
3610 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
3615 <A NAME="getInfo()"><!-- --></A><H3>
3618 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getInfo</B>()</PRE>
3620 <DD>Returns a <code>String</code> representation of this <code>User</code>.
3621 Contains the information fields and groups.
3628 <DT><B>Returns:</B><DD>a <code>String</code> representation of the <code>User</code></DL>
3633 <A NAME="getInfoGroups()"><!-- --></A><H3>
3636 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getInfoGroups</B>()
3637 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3639 <DD>Returns a <code>String</code> containing the <code>String</code>
3640 representations of all the groups to which this user belongs.
3647 <DT><B>Returns:</B><DD>a <code>String</code> representation of the groups belonged to
3648 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Group.html#toString()"><CODE>Group.toString()</CODE></A></DL>
3653 <A NAME="getInfoGroupsOwned()"><!-- --></A><H3>
3654 getInfoGroupsOwned</H3>
3656 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getInfoGroupsOwned</B>()
3657 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3659 <DD>Returns a <code>String</code> containing the <code>String</code>
3660 representations of all the groups that this user owns.
3667 <DT><B>Returns:</B><DD>a <code>String</code> representation of the groups owned
3668 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Group.html#toString()"><CODE>Group.toString()</CODE></A></DL>
3673 <A NAME="compareTo(org.openafs.jafs.User)"><!-- --></A><H3>
3676 public int <B>compareTo</B>(<A HREF="../../../org/openafs/jafs/User.html">User</A> user)</PRE>
3678 <DD>Compares two User objects respective to their names and does not
3679 factor any other attribute. Alphabetic case is significant in
3686 <DT><B>Parameters:</B><DD><CODE>user</CODE> - The User object to be compared to this User instance
3687 <DT><B>Returns:</B><DD>Zero if the argument is equal to this User's name, a
3688 value less than zero if this User's name is
3689 lexicographically less than the argument, or a value greater
3690 than zero if this User's name is lexicographically
3691 greater than the argument</DL>
3696 <A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
3699 public int <B>compareTo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A> obj)</PRE>
3701 <DD>Comparable interface method.
3704 <DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A></CODE></DL>
3707 <DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#compareTo(org.openafs.jafs.User)"><CODE>compareTo(User)</CODE></A></DL>
3712 <A NAME="equals(org.openafs.jafs.User)"><!-- --></A><H3>
3715 public boolean <B>equals</B>(<A HREF="../../../org/openafs/jafs/User.html">User</A> otherUser)</PRE>
3717 <DD>Tests whether two <code>User</code> objects are equal, based on their
3724 <DT><B>Parameters:</B><DD><CODE>otherUser</CODE> - the user to test
3725 <DT><B>Returns:</B><DD>whether the specifed user is the same as this user</DL>
3730 <A NAME="toString()"><!-- --></A><H3>
3733 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
3735 <DD>Returns the name of this <CODE>User</CODE>
3738 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></CODE></DL>
3742 <DT><B>Returns:</B><DD>the name of this <CODE>User</CODE></DL>
3747 <A NAME="create(int, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
3750 protected static void <B>create</B>(int cellHandle,
3751 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName,
3752 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> password,
3754 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3756 <DD>Creates the kas and pts entries for a new user. Pass in 0 for the uid
3757 if pts is to automatically assign the user id.
3763 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>userName</CODE> - the name of the user to create<DD><CODE>password</CODE> - the password for the new user<DD><CODE>uid</CODE> - the user id to assign to the user (0 to have one
3764 automatically assigned)
3766 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3771 <A NAME="delete(int, java.lang.String)"><!-- --></A><H3>
3774 protected static void <B>delete</B>(int cellHandle,
3775 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName)
3776 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3778 <DD>Deletes the pts and kas entry for a user. Deletes this user from the
3779 membership list of the groups to which it belonged, but does not delete
3780 the groups owned by this user.
3786 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs
3788 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3793 <A NAME="unlock(int, java.lang.String)"><!-- --></A><H3>
3796 protected static void <B>unlock</B>(int cellHandle,
3797 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName)
3798 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3806 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs
3808 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3813 <A NAME="getUserInfo(int, java.lang.String, org.openafs.jafs.User)"><!-- --></A><H3>
3816 protected static void <B>getUserInfo</B>(int cellHandle,
3817 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
3818 <A HREF="../../../org/openafs/jafs/User.html">User</A> user)
3819 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3821 <DD>Fills in the information fields of the provided <code>User</code>.
3822 Fills in values based on the current pts and kas information of the user.
3828 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>name</CODE> - the name of the user for which to get the information<DD><CODE>user</CODE> - the <code>User</code> object in which to fill in the
3831 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A>,
3832 <A HREF="../../../org/openafs/jafs/User.html"><CODE>User</CODE></A></DL>
3837 <A NAME="setUserInfo(int, java.lang.String, org.openafs.jafs.User)"><!-- --></A><H3>
3840 protected static void <B>setUserInfo</B>(int cellHandle,
3841 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name,
3842 <A HREF="../../../org/openafs/jafs/User.html">User</A> theUser)
3843 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3845 <DD>Sets the information values of this AFS user to be the parameter values.
3846 Sets both kas and pts fields.
3852 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>name</CODE> - the name of the user for which to set the information<DD><CODE>theUser</CODE> - the <code>User</code> object containing the desired
3855 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3860 <A NAME="rename(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
3863 protected static void <B>rename</B>(int cellHandle,
3864 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> oldName,
3865 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newName)
3866 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3868 <DD>Renames the given user. Does not update the info fields of the kas entry
3869 -- the calling code is responsible for that.
3875 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>oldName</CODE> - the name of the user to rename<DD><CODE>newName</CODE> - the new name for the user
3877 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3882 <A NAME="setPassword(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
3885 protected static void <B>setPassword</B>(int cellHandle,
3886 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> userName,
3887 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> newPassword)
3888 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3890 <DD>Sets the password of the given user. Sets the key version to 0.
3896 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>userName</CODE> - the name of the user for which to set the password<DD><CODE>newPassword</CODE> - the new password for the user
3898 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3903 <A NAME="getUserGroupsBegin(int, java.lang.String)"><!-- --></A><H3>
3904 getUserGroupsBegin</H3>
3906 protected static int <B>getUserGroupsBegin</B>(int cellHandle,
3907 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)
3908 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3910 <DD>Begin the process of getting the groups to which the user belongs.
3911 Returns an iteration ID to be used by subsequent calls to
3912 <code>getUserGroupsNext</code> and <code>getUserGroupsDone</code>.
3918 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>name</CODE> - the name of the user for which to get the groups
3919 <DT><B>Returns:</B><DD>an iteration ID
3921 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
3926 <A NAME="getUserGroupsNextString(int)"><!-- --></A><H3>
3927 getUserGroupsNextString</H3>
3929 protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getUserGroupsNextString</B>(int iterationId)
3930 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3932 <DD>Returns the next group to which the user belongs. Returns
3933 <code>null</code> if there are no more groups.
3939 <DT><B>Parameters:</B><DD><CODE>iterationId</CODE> - the iteration ID of this iteration
3940 <DT><B>Returns:</B><DD>the name of the next group
3942 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsBegin(int, java.lang.String)"><CODE>getUserGroupsBegin(int, java.lang.String)</CODE></A></DL>
3947 <A NAME="getUserGroupsNext(int, int, org.openafs.jafs.Group)"><!-- --></A><H3>
3948 getUserGroupsNext</H3>
3950 protected static int <B>getUserGroupsNext</B>(int cellHandle,
3951 int iterationId,
3952 <A HREF="../../../org/openafs/jafs/Group.html">Group</A> theGroup)
3953 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3955 <DD>Fills the next group object of which the user belongs. Returns 0 if there
3956 are no more groups, != 0 otherwise.
3962 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the users belong<DD><CODE>iterationId</CODE> - the iteration ID of this iteration<DD><CODE>theGroup</CODE> - a Group object to be populated with the values of the
3964 <DT><B>Returns:</B><DD>0 if there are no more users, != 0 otherwise
3966 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A>,
3967 <A HREF="../../../org/openafs/jafs/User.html#getUserGroupsBegin(int, java.lang.String)"><CODE>getUserGroupsBegin(int, java.lang.String)</CODE></A></DL>
3972 <A NAME="getUserGroupsDone(int)"><!-- --></A><H3>
3973 getUserGroupsDone</H3>
3975 protected static void <B>getUserGroupsDone</B>(int iterationId)
3976 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3978 <DD>Signals that the iteration is complete and will not be accessed anymore.
3984 <DT><B>Parameters:</B><DD><CODE>iterationId</CODE> - the iteration ID of this iteration
3986 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#getUserGroupsBegin(int, java.lang.String)"><CODE>getUserGroupsBegin(int, java.lang.String)</CODE></A></DL>
3991 <A NAME="getGroupsOwnedCount(int, java.lang.String)"><!-- --></A><H3>
3992 getGroupsOwnedCount</H3>
3994 protected static int <B>getGroupsOwnedCount</B>(int cellHandle,
3995 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)
3996 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
3998 <DD>Returns the total number of groups owned by the user.
4004 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>name</CODE> - the name of the user for which to get the groups
4005 <DT><B>Returns:</B><DD>total number of groups owned by the user
4007 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
4012 <A NAME="getGroupsOwnedBegin(int, java.lang.String)"><!-- --></A><H3>
4013 getGroupsOwnedBegin</H3>
4015 protected static int <B>getGroupsOwnedBegin</B>(int cellHandle,
4016 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> name)
4017 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
4019 <DD>Begin the process of getting the groups that a user or group owns.
4020 Returns an iteration ID to be used by subsequent calls to
4021 <code>getGroupsOwnedNext</code> and <code>getGroupsOwnedDone</code>.
4027 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the user belongs<DD><CODE>name</CODE> - the name of the user or group for which to get the groups
4028 <DT><B>Returns:</B><DD>an iteration ID
4030 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
4035 <A NAME="getGroupsOwnedNextString(int)"><!-- --></A><H3>
4036 getGroupsOwnedNextString</H3>
4038 protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getGroupsOwnedNextString</B>(int iterationId)
4039 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
4041 <DD>Returns the next group the user or group owns. Returns <code>null</code>
4042 if there are no more groups.
4048 <DT><B>Parameters:</B><DD><CODE>iterationId</CODE> - the iteration ID of this iteration
4049 <DT><B>Returns:</B><DD>the name of the next group
4051 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedBegin(int, java.lang.String)"><CODE>getGroupsOwnedBegin(int, java.lang.String)</CODE></A></DL>
4056 <A NAME="getGroupsOwnedNext(int, int, org.openafs.jafs.Group)"><!-- --></A><H3>
4057 getGroupsOwnedNext</H3>
4059 protected static int <B>getGroupsOwnedNext</B>(int cellHandle,
4060 int iterationId,
4061 <A HREF="../../../org/openafs/jafs/Group.html">Group</A> theGroup)
4062 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
4064 <DD>Fills the next group object that the user or group owns. Returns 0 if
4065 there are no more groups, != 0 otherwise.
4071 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the users belong<DD><CODE>iterationId</CODE> - the iteration ID of this iteration<DD><CODE>theGroup</CODE> - a Group object to be populated with the values of the
4073 <DT><B>Returns:</B><DD>0 if there are no more users, != 0 otherwise
4075 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A>,
4076 <A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedBegin(int, java.lang.String)"><CODE>getGroupsOwnedBegin(int, java.lang.String)</CODE></A></DL>
4081 <A NAME="getGroupsOwnedDone(int)"><!-- --></A><H3>
4082 getGroupsOwnedDone</H3>
4084 protected static void <B>getGroupsOwnedDone</B>(int iterationId)
4085 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
4087 <DD>Signals that the iteration is complete and will not be accessed anymore.
4093 <DT><B>Parameters:</B><DD><CODE>iterationId</CODE> - the iteration ID of this iteration
4095 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/User.html#getGroupsOwnedBegin(int, java.lang.String)"><CODE>getGroupsOwnedBegin(int, java.lang.String)</CODE></A></DL>
4100 <A NAME="reclaimUserMemory()"><!-- --></A><H3>
4101 reclaimUserMemory</H3>
4103 protected static void <B>reclaimUserMemory</B>()</PRE>
4105 <DD>Reclaims all memory being saved by the user portion of the native library.
4106 This method should be called when no more <code>Users</code> are expected
4116 <!-- ========= END OF CLASS DATA ========= -->
4119 <!-- ========== START OF NAVBAR ========== -->
4120 <A NAME="navbar_bottom"><!-- --></A>
4121 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
4123 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
4124 <A NAME="navbar_bottom_firstrow"><!-- --></A>
4125 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
4126 <TR ALIGN="center" VALIGN="top">
4127 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
4128 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
4129 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/User.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
4130 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
4131 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
4132 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
4133 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
4137 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
4138 <B>JAFS API v2</B></EM>
4143 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
4144 <A HREF="../../../org/openafs/jafs/Token.html"><B>PREV CLASS</B></A>
4145 <A HREF="../../../org/openafs/jafs/VersionInfo.html"><B>NEXT CLASS</B></A></FONT></TD>
4146 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
4147 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
4148 <A HREF="User.html" TARGET="_top"><B>NO FRAMES</B></A>
4153 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
4158 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
4163 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
4164 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
4165 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
4166 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
4169 <!-- =========== END OF NAVBAR =========== -->