## How to add auto add user in the telegram bot group without using any marketing software

how to add auto user in the telegram bot group with nodejs without using any software , i tried using my api but i didn’t fine any solution to call the api in bot now am so confused how to add without telegram marketing software

## In approval workflow in SPD 2013, after approving the task, the item is check out to the user who created it instead of approver group?

I have created an approval workflow in SPD 2013 and we have 5 SharePoint groups that have to approve the task one after another. My problem is, when the user creates a document in the library and check-in the document to start the workflow then the workflow sends a task to one of the groups, where they approve it and the approve group has to check-in the document, so that, the workflow moves to next group. Instead, after approving the task by approver, the item is check-out to the initiator (who created the document). So, how to make the item to check-in with approver group, after the task is approved?

## When the action of the gauge group on the space of connections is free?

Let $$G$$ be a compact Lie group. Let $$\mathcal{A}$$ be the space of connections on the principal trivial $$G$$-bundle $$G\times \mathbb{R}^4$$ possibly with some growth condition (to specify it is a part of the question). The gauge group $$\mathcal{G}:=Maps(\mathbb{R}^4\to G)$$ acts on $$\mathcal{A}$$ in the usual ways.

Can the action of $$\mathcal{G}$$ on $$\mathcal{A}$$ be free? E.g. for $$G=SU(2)$$? If not, is it true that the set of connections with non-trivial stabilizers (or infinitesimal stabilizers) is ‘very small’ in some sense?

Remark. If $$G=U(1)$$ then the action of $$\mathcal{G}$$ on $$\mathcal{A}$$ is free provided we impose a growth condition on connections such that they should vanish at infinity at least along a given direction.

## Representability of a subfunctor of the functor of points of a group scheme

Let $$G$$ be a group scheme over a scheme $$S$$ and $$h_G:\rm{Sch}/S\longrightarrow \rm{Grp}$$ the functor of points represented by $$G$$.

Let $$k$$ be a subfunctor of $$h$$. Is $$k$$ representable? If so, can we represent it by a (locally closed) subscheme of $$G$$ over $$S$$?

My question might be very naïve, but it is justified by a lack of familiarity with group schemes.

## How to set the display name for group members in Google Groups?

I’m a manager on Google Groups for a group that has about 100 members. I want to be able to edit the display name so I can identify who my users are, instead of “JKL6” for example, which is the prefix for an email address. First, I can’t seem to edit the “Display Name” and second, I have deleted the list of email addresses when I was fooling around with the identity tool. I was trying to change the settings about display name vs. Google name, and now my “Members” list does not have ANY email addresses showing.

## How to allow AD group to access and manage IIS sites and pools?

i manage actually a domain with around 34 IIS servers running webapplications.

I would like to get a better user right management in my domain.

For the moment, my users allowed to manage IIS websites and pools are members of the Domain Admins group which is not really secure.

For getting more control i would like to create an AD group containing the users allowed to manage IIS sites and pools ans only let them manage this part of the server.

But, i don’t know how to proceed for allowing this group to acces and manage IIS websites.

I’ve read some article on Technet explaining how to do this manually but i got lot of servers running IIS and lot of users and i cannot do it by hand here it is : https://blogs.technet.microsoft.com/leesab/2014/07/30/delegating-iis-administration-to-domain-users-non-administrators/

My users access to the management console from RDP connection. They can open the console but they don’t see any website in the left pane.

Can you help me ?

## Check if the current user is member of specific AD security group

following situation: I have kind of classification tree (with Managed Metadata) next to a document library. Now my customer came up with the idea “Hey, it would be nice, if you can hide parts of the classification tree by group memberships”. Alright then, created some new SharePoint groups and added the AD security group. And now? I already have a “script” (don’t bother me for the style, I’m not yet a developer and not even close to this). But this scans only for users in SharePoint group, not in AD security group.

<script src="/sites/intranet/_catalogs/masterpage/cusomter/Scripts/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="/sites/intranet/_catalogs/masterpage/cusomter/Scripts/jquery.SPServices.min.js"></script> <script type="text/javascript"> $(document).ready(function() {$  ().SPServices(       {       operation: "GetGroupCollectionFromUser",       userLoginName: $().SPServices.SPGetCurrentUser(), async: false, completefunc: function(xData, Status) { //If the current User does belong to the group "SharePoint Group Name" if($  (xData.responseXML).find("Group[Name='GF']").length == 1)          {             // where circle1 is the id of div             $('a[title="GF"]').parent().parent().parent().parent().css("display", "block");$  ('a[title="something special"]').parent().parent().parent().parent().css("display", "block");             console.log("member of GF")          }          else          {             $('a[title="GF"]').parent().parent().parent().parent().css("display", "none");$  ('a[title="something special"]').parent().parent().parent().parent().css("display", "none");             console.log("not member of GF")          };           if($(xData.responseXML).find("Group[Name='HR']").length == 1) { // where circle1 is the id of div$  ('a[title="HR"]').parent().parent().parent().parent().css("display", "block");             console.log("member of HR");          }          else          {             \$  ('a[title="HR"]').parent().parent().parent().parent().css("display", "none")             console.log("not member of HR");          }       }    }); }); </script> 

Is there an applicable way to achieve? Additionally I have to keep in mind, that the SharePoint is available via public internet. Maybe this will be my show stopper in the end, if I have to use LDAP calls?!

Needless to say that I already tried to import the “memberOf” attribute from AD to the user profile service. Unfortunately this field stays blank for all user, even after the 4th or 5th sync.

## Google Charts Group Count and Sharepoint 2013

I got the code to work that will graph the data from my list, the problem is I want a aggregate count based on one of the columns so I tried implementing Google’s group() method but can’t get it to work. My charts simply do not appear after adding it. Below is the code that works, along with the group() method I tried to implement and a link to Google’s reference guide.

What works:

<html>  <head>  <script src="https://www.gstatic.com/charts/loader.js" type="text/javascript"></script> <script src="https://code.jquery.com/jquery-3.0.0.min.js" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/2014.02/jquery.SPServices.min.js" type="text/javascript"></script> <script language="javascript"> var returnedItems = null;  function loadGoogleLibAndDraw(){  google.charts.load('current', {'packages':['bar','line']});  google.charts.setOnLoadCallback(visualizeData); } function visualizeData() {   var context = new SP.ClientContext();   var list = context.get_web().get_lists().getByTitle(document.getElementById('EERelationsRecords').value);   var caml = new SP.CamlQuery();   caml.set_viewXml("<View></View>");    returnedItems = list.getItems(caml);   context.load(returnedItems);   context.executeQueryAsync(onSucceededCallback, onFailedCallback);  }   function onSucceededCallback(sender, args) {   var data = new google.visualization.DataTable();  data.addColumn('string', 'Reason');  data.addColumn('number', 'ID');  var enumerator = returnedItems.getEnumerator();   var markup = '';   while (enumerator.moveNext()) {   var row = [];  var listItem = enumerator.get_current();   row.push(listItem.get_item('Reason'));  row.push(listItem.get_item('ID'));  data.addRow(row);  // This call will group the table by column 0 values. // It will also show column 1, which will be a count of // values in that column for that row group. var resultData = google.visualization.data.group(   data,   [0],   [{, 'aggregation': google.visualization.data.count, 'type': 'number', 'Count'}] );   }     var options = {  chart: {  title: 'Sales Trend',  },  bars: 'vertical'   };  var barChart = new google.charts.Bar(document.getElementById('BarChart'));  barChart.draw(data, options);   var lineChart = new google.charts.Line(document.getElementById('LineChart'));  lineChart.draw(data, options); }   function onFailedCallback(sender, args) {   var markup = '<p>The request failed: <br>';   markup += 'Message: ' + args.get_message() + '<br>';   displayDiv.innerHTML = markup;  } </script> </head>   <body onload="loadGoogleLibAndDraw()">   <form name="metricsform" id="metricsform">  <input id="EERelationsRecords" name="EERelationsRecords" value="EERelationsRecords" type="hidden"/>  </form>  <div>   <div id="displayDiv"></div>  <div id="BarChart" style="width: 300px; height: 200px;"></div>  <div id="LineChart" style="width: 300px; height: 200px;"></div>  </div>  </body>  </html> 

// This call will group the table by column 0 values. // It will also show column 1, which will be a count of // values in that column for that row group. var resultData = google.visualization.data.group(   data,   [0],   [{, 'aggregation': google.visualization.data.count, 'type': 'number', 'Count'}] ); 

## Magento 2 Assign customer group name to externally calling JavaScript file variable

PreRequisites:

• MageVersion – Magento 2.3.x
• External JavaScript – http://domain.com/external-js.js

var mage_customer_group = ”; //other code related to the customer group

• Pages – Category page and Custom product listing page (External JavaScript manages the product listing using simple AJAX)

Getting Customer group name by overriding customer section updates and saving into the mage-cache-storage (localstorage).

https://devdocs.magento.com/guides/v2.3/extension-dev-guide/cache/page-caching/private-content.html

Customer Data Management in Magento 2

In external-js.js file, 3rd party vendor having logic to send prices and other information based on customer group name. For now, product name, image, link and product price is showing proper. Issue only occures, when category or custom product listing page loads value of mage_customer_group is getting blank value.

While looking on the Network console, first External JavaScript (http://domain.com/external-js.js) calling then customer section update is calling.

Is there any way in KnockOut js that we can bind customer properties to external JS?

## Create “Custom Action Group” in “Site Actions” menu

I want to list my “Custom Action” as the first item in the “Site Action” menu, so I thought of creating a new “Custom Action Group” and inside the group, I will add my “Custom Action” using the below code in elements.xml

<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/">  <CustomActionGroup   Description = "Display the Site Owner's Name, SharePoint Group and E-mail ID"   Id = "SiteActions1"   Location = "Microsoft.SharePoint.StandardMenu"   Sequence = "0"   Title = "View Site Owner(S)"> </CustomActionGroup> <CustomAction     Id="ViewSiteOwner"     GroupId="SiteActions1"     Location="Microsoft.SharePoint.StandardMenu"     Sequence="0"     Title="View Site Owner"     Description="Display the Site Owner's Name, SharePoint Group and E-mail ID." >     <UrlAction Url="javascript:OpenPopUpPageWithTitle('{SiteUrl}/_Layouts/15/Common/SiteOwnerPage.aspx?IsDlg=1','RefreshOnDialogClose',600, 200,'View Site Owner')"/>   </CustomAction> </Elements> 

But for some reason, it doesn’t create custom group and the custom action, so I removed the “Custom Action Group” and created a custom action with the sequence to be “0”, but SharePoint for some reason it displays as the last item in the menu,

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">   <CustomAction     Id="ViewSiteOwner"     GroupId="SiteActions"     Location="Microsoft.SharePoint.StandardMenu"     Sequence="20"     Title="View Site Owner"     Description="Display the Site Owner's Name, SharePoint Group and E-mail ID." >     <UrlAction Url="javascript:OpenPopUpPageWithTitle('{SiteUrl}/_Layouts/15/Common/SiteOwnerPage.aspx?IsDlg=1','RefreshOnDialogClose',600, 200,'View Site Owner')"/>   </CustomAction> </Elements> 

Is it a bug in SharePoint or is this how it works.?