set_user_cred
r = set_user_cred(e->u, pproj);
static int set_user_cred(const struct usr *, struct project *);