public bool AddGroupRole(string RequestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers, out string reason) { reason = string.Empty; string url = string.Empty, gname = string.Empty; if (IsLocal(groupID, out url, out gname)) { return(m_LocalGroupsConnector.AddGroupRole(AgentUUI(RequestingAgentID), groupID, roleID, name, description, title, powers, out reason)); } else { reason = "Operation not allowed outside this group's origin world."; return(false); } }
public bool AddGroupRole(string RequestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers, out string reason) { if (m_log.IsDebugEnabled) { m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); } reason = string.Empty; string url = string.Empty, gname = string.Empty; if (IsLocal(groupID, out url, out gname)) { return(m_LocalGroupsConnector.AddGroupRole(AgentUUI(RequestingAgentID), groupID, roleID, name, description, title, powers, out reason)); } else { reason = "Operation not allowed outside this group's origin world."; return(false); } }