Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am using office 365. I have created number of sites on Sharepoint. I want to get the list of all sites and site Id's programmatically(using c#).
I have used GraphServiceClient "await m_GraphClient.Groups.Request().GetAsync()".
But i want to know more ways to get the list of sites.
You could try search.
https://graph.microsoft.com/v1.0/sites?search=*
Sample in SPFx
this.props.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient): void => {
client
.api("sites?search=*")
.version("v1.0")
.get((error, response: any, rawResponse?: any) => {
console.log(response);
});
})
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
How can I save the website someone is accessing using NET?
The company that I work have multiple landing pages, I need to check wich one the user is accessing after he accept or not the cookie policy and save it on a postgres database.
Right now I'm using this to get the user IP and it is working fine.
historicoCookie.EnderecoIp = this.HttpContext.Connection.RemoteIpAddress.ToString();
Is there anything like that to get the URl the user is accessig?
You should be able to get it from the Request object
var requestUrl = Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(this.Request);
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have to store token in cache that comes from rest api for about 1 hour of time. I am new to this so don't know much about same, Please help me to guide.
u can use jwt token or cache helper for same.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
The questions I saw here is mostly about getting current input layout, but I need list of all installed input layouts.
It's like when we install Windows we choose additional input method for our native language and we usually has 2 of them. And I need to know it.
foreach (InputLanguage c in System.Windows.Forms.InputLanguage.InstalledInputLanguages)
{
Console.WriteLine(c.Culture.EnglishName);
}
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I wanted to ask if it is possible to use Clarifai's system offline, meaning accessing the trained models on the device so it can work without access to the internet.
Thanks
Kunal from Clarifai here.
We support this with our Mobile SDK which is currently in limited preview. You can get more information here, https://www.clarifai.com/get-sdk
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am using the eBay shopping API and I cannot find a way to get the specific item sale history fields. I tried Google but found nothing.
Thanks in Advance!
You have GetItemTransactions() in the Trading API that might suit your needs.