Sun Java System Access Manager 7 2005Q4 C API Reference

am_auth_logout()

Logs out the user.

Syntax

#include "am_auth.h"
AM_EXPORT am_status_t
am_auth_logout(am_auth_context_t auth_ctx);

Parameters

This function takes the following parameter:

auth_ctx

Handle of the auth context.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the logout process was successfully completed.

AM_INVALID_ARGUMENT

If the auth_ctx parameter is NULL.