1krb5_cc_switch - Make a credential cache the primary cache for its collection. 2================================================================================ 3 4.. 5 6.. c:function:: krb5_error_code krb5_cc_switch(krb5_context context, krb5_ccache cache) 7 8.. 9 10 11:param: 12 13 **[in]** **context** - Library context 14 15 **[in]** **cache** - Credential cache handle 16 17 18.. 19 20 21:retval: 22 - 0 Success, or the type of cache doesn't support switching 23 24 25:return: 26 - Kerberos error codes 27 28.. 29 30 31 32 33 34 35 36If the type of *cache* supports it, set *cache* to be the primary credential cache for the collection it belongs to. 37 38 39 40 41 42 43 44 45 46 47.. 48 49 50 51 52 53