Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 11 - Program-to-Program Communications Toolbox / PPC Toolbox Reference
PPC Toolbox Routines / Locating a Default User and Invalidating a User


DeleteUserIdentity

To invalidate a particular user name and corresponding password, use the DeleteUserIdentity function.

FUNCTION DeleteUserIdentity (userRef: LongInt): OSErr;
userRef
The reference number representing the user and password to be deleted.
DESCRIPTION
The DeleteUserIdentity function deletes the user name and password corresponding to the user reference number.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the DeleteUserIdentity function are
Trap macroSelector
_PPC$000C

The registers on entry and exit for this routine are
Registers on entry
A0Pointer to a DeleteUserParams record
D0Selector code
Registers on exit
D0Result code

RESULT CODES
noErr0No error
noUserRecErr-928Invalid user reference number
SEE ALSO
For an example of the use of the DeleteUserIdentity function, see "Invalidating Users" on page 11-44.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996