Sun Java System Access Manager 7 2005Q4 C API Reference

Returns

This function returns the host name of this session handle as given by the Host property. NULL if the Host property is not set or does not have a value.