Sun Java System Access Manager 7 2005Q4 C API Reference

am_auth_get_sso_token_id()

Get the SSO token id of the authenticated user.

Syntax

#include "am_auth.h"
AM_EXPORT const char *
am_auth_get_sso_token_id(am_auth_context_t auth_ctx);

Parameters

This function takes the following parameter:

auth_ctx

Handle of the auth context.

Returns

This function returns const char * with one of the following values:

Zero-terminated string representing the organization.

When user successfully logs in.

NULL

If there was an error or the user has not successfully logged in.