Apple AppleShare 3.0 Users and Groups Programming Interface User Manual
Page 11

ugGroupAlreadyExists 2 Group with the same name exists.
ugUserNotFound 5 The user is not in the users and
groups file.
ugNotAUser 7 ugUserID is not the ID of a user.
ugBadParamErr 13 async is TRUE, the length of the old
user name is greater than 31, the length
of the new user name is less than 1 or
greater than 31, the new user name
contains a colon, or the old user name
is the owner's name.
ugServerRunning 16 Server is running.
ugAdminRunning 17 Admin is running.
ugNotBtree 18 Users and groups file is not a B-Tree
file.
ugBadUID 21 The ID in ugAccessID is wrong. The
users and groups file may not be open.
ugFatalError 99 There is a problem with the users and
groups file. Delete it and re-create
it.
UGGetUserInfo
FUNCTION UGGetUserInfo (thePB: UserGroupPBPtr; async: BOOLEAN): OSErr;
pascal OSErr UGGetUserInfo (UserGroupPBPtr thePB, Boolean async);
Parameter Block 18 ugNamePtr long pointer to user
name
24 ugRefNum word file reference
number
30 ugAccessID long program access ID
34 ugUserID long user ID
38 ugGroupID long group ID or 0 for
all
42 ugPosOffset word position offset
54 ugUserFlags long user flags
58 ugNumBadLogins word number of failed
login attempts
60 ugPwdDate long date of last
password change
64 ugNumGroups word number of groups