PMDF popstore & MessageStore Manager's Guide


Previous Next Contents Index


POPSTORE_user_end

Deaccess a user account.
FORMAT


int POPSTORE_user_end (user_context) 
      POPSTORE_user_context *user_context; 


Arguments

user_context

User context to dispose of. Used for input only.

Description

When finished with a user context, it must be disposed of by calling POPSTORE_user_end. Not only does this call dispose of allocated resources, it also deletes any messages marked for deletion, and updates accounting information in the user's profile if requested by the do_accounting argument of
POPSTORE_user_begin_d.

Return Values

POPSTORE_SUCCESS Normal, successful completion.
POPSTORE_FILOPNERR An error occurred while trying to re-open the user's profile file for updating.
POPSTORE_INSUFPRIV The calling process lacks SYSLCK privilege (OpenVMS only).
POPSTORE_LCKOPNERR Unable to obtain lock information for the user's profile file.
POPSTORE_LOCKERROR Unable to obtain a lock for the user's profile file.
POPSTORE_READERROR An error occurred while attempting to read data from the user's profile file.
POPSTORE_SEEKERROR An error occurred while attempting to seek to a position in the user's profile files.
POPSTORE_VMERROR Insufficient virtual memory to perform requested operation.
POPSTORE_WRITERROR An error occurred while writing data to the user's profile file.


Previous Next Contents Index