public bool IsUserGroupMember(string sUserName, string sGroupName) { Conexion connDA = new Conexion(ConfigurationManager.AppSettings["dominio"].ToString(), ConfigurationManager.AppSettings["usuario_dominio"].ToString(), ConfigurationManager.AppSettings["pass_dominio"].ToString()); return connDA.IsUserGroupMember(sUserName, sGroupName); }