object(Creds) Pike.Security.get_object_creds(object|program|function|array|mapping|multiset o)
Get the credentials from o.
Returns 0 if o does not have any credentials.