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

Result Codes
noErr 0 No error.
ugUserNotFound 5 The user is not in the users and
groups file.
ugGroupNotFound 6 The group is not in the users and
groups file.
ugNotAUser 7 ugUserID is not the ID of a user.
ugNotAGroup 8 ugGroupID is not the ID of a group.
ugNotaMember 10 User is not a member of the group
specified by ugGroupID.
ugBadParamErr 13 async is TRUE.
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 and re-create it.
UGGetULInfo
FUNCTION UGGetULInfo (thePB: UserGroupPBPtr; async: BOOLEAN): OSErr;
pascal OSErr UGGetULInfo(UserGroupPBPtr thePB, Boolean async);
Parameter Block 18 ugNamePtr long pointer to server
name
24 ugRefNum word file reference
number
30 ugAccessID long program access ID
46 ugSrvrVersion word server version
number
50 ugSrvrFlags 8 bytes server flags
(two longs)
58 ugMinPwdLen byte minimum password
length
60 ugMaxBadLogins word maximum failed
login attempts