beautypg.com

Apple AppleShare 3.0 Users and Groups Programming Interface User Manual

Page 31

background image

pascal OSErr UGGetULInfo (UserGroupPBPtr thePB, Boolean async);

pascal OSErr UGSetULInfo (UserGroupPBPtr thePB, Boolean async);

Result codes returned by

UGLibrary functions

ugUserAlreadyExists = 1

ugGroupAlreadyExists = 2

ugULInfoRecNotCreated = 3

ugNoMoreUGs = 4

ugUserNotFound = 5

ugGroupNotFound = 6

ugNotAUser = 7

ugNotAGroup = 8

ugTooManyGroups = 9

ugNotaMember = 10

ugNoMoreUsers = 11

ugNoMoreGroups = 12

ugBadParamErr = 13

ugUserAlreadyAMember = 14

ugAPrmryGroupExists = 15

ugServerRunning = 16

ugAdminRunning = 17

ugNotBtree = 18

ugBadKey = 19

ugDskFull = 20

ugBadUID = 21

ugInvalidPasswd = 22

ugEOF = 23

ugBOF = 24

ugDefNameErr = 98