# MIT Kerberos Documentation

Contents | previous | next | index | Search | feedback

# krb5_cc_get_name - Retrieve the name, but not type of a credential cache.

const char * `krb5_cc_get_name`(krb5_context context, krb5_ccache cache)

param: | [in] context - Library context [in] cache - Credential cache handle

return: | On success - the name of the credential cache.

Warning

Returns the name of the credential cache. The result is an alias into cache and should not be freed or modified by the caller. This name does not include the cache type, so should not be used as input to `krb5_cc_resolve()` .