byte[] GetAuthInfo(UUID principalID) { AuthInfo info = m_AuthenticationService.GetAuthInfo(principalID); if (info != null) { Dictionary <string, object> result = new Dictionary <string, object>(); result["result"] = info.ToKeyValuePairs(); return(ResultToBytes(result)); } else { return(FailureResult()); } }