Important: The information in this document is obsolete and should not be used for new development.
DeleteUserIdentity
To invalidate a particular user name and corresponding password, use theDeleteUserIdentityfunction.
FUNCTION DeleteUserIdentity (userRef: LongInt): OSErr;
userRef- The reference number representing the user and password to be deleted.
DESCRIPTION
TheDeleteUserIdentityfunction deletes the user name and password corresponding to the user reference number.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theDeleteUserIdentityfunction are
Trap macro Selector _PPC $000C The registers on entry and exit for this routine are
Registers on entry A0 Pointer to a DeleteUserParamsrecordD0 Selector code
Registers on exit D0 Result code RESULT CODES
noErr 0 No error noUserRecErr -928 Invalid user reference number SEE ALSO
For an example of the use of theDeleteUserIdentityfunction, see "Invalidating Users" on page 11-44.