I've browsed the module development documentation but I can't find an API that would help me determine if 'user' (i.e. identified through a JID) is allowed administrative access.
I understand there is the module 'acl' which looks promising (or probably the answer altogether) but no public API is documented.
Should I just assume that the module 'acl' is the proper way to access user credentials?