You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I just downloaded the Groupsharekit from NuGet in Visual Studio and wanted to test this sample code:
var groupShareClient = await GroupShareClient.AuthenticateClient(userName, password, new Uri("http://yourgroupshareaddress"), GroupShareClient.AllScopes);
var users = await groupShareClient.User.GetAllUsers();
foreach (var user in users)
{
Console.WriteLine(user.DisplayName +" loves Groupshare!");
}
Unfortunately it was not working because a token parameter is required for this method: GroupShareClient.AuthenticateClient(string token, string user, string password, string bearerId, Uri baseAddress, IEnumerable<string> scopes)
I am not that familiar with using REST-API, I just want to use the C# wrapper. But it does not seem that there is any more sample code anywhere or is there?
Where do I get the required token from? ist it stored somewhere in the Groupshare server?
Any additional documentation would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I just downloaded the Groupsharekit from NuGet in Visual Studio and wanted to test this sample code:
Unfortunately it was not working because a token parameter is required for this method:
GroupShareClient.AuthenticateClient(string token, string user, string password, string bearerId, Uri baseAddress, IEnumerable<string> scopes)
I am not that familiar with using REST-API, I just want to use the C# wrapper. But it does not seem that there is any more sample code anywhere or is there?
Where do I get the required token from? ist it stored somewhere in the Groupshare server?
Any additional documentation would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: