Aurora.Services.WebAPIHandler.GetGridUserInfo C# (CSharp) Method

GetGridUserInfo() private method

private GetGridUserInfo ( OSDMap map ) : OSDMap
map OSDMap
return OSDMap
        private OSDMap GetGridUserInfo(OSDMap map)
        {
            string uuid = String.Empty;
            uuid = map["UUID"].AsString();

            IUserAccountService accountService = m_registry.RequestModuleInterface<IUserAccountService>();
            UserAccount user = accountService.GetUserAccount(null, map["UUID"].AsUUID());
            IAgentInfoService agentService = m_registry.RequestModuleInterface<IAgentInfoService>();

            OSDMap resp = new OSDMap();
            bool verified = user != null;
            resp["Verified"] = OSD.FromBoolean(verified);
            if (verified)
            {
                resp = UserAccount2InfoWebOSD(user);
            }

            return resp;
        }