Sun Java System Access Manager 7 2005Q4 C API Reference

Returns

This function returns the principal of this session handle, NULL if the sso_token handle is invalid or any other error occurred.