我正在尝试检索域中的所有用户,但它永远不会起作用。我的代码中从未出现任何错误。
我在我的项目中添加 Google.GData.Apps.dll 作为参考。我正在使用 Google Apps 配置 API。我指的是这些链接https://developers.google.com/google-apps/provisioning/
代码 :-
string domain = @"<domain name>";
string subs = @"<Authorization code>";
AppsService appService = new AppsService(domain, subs);
// appService.CreateUser("john.jain","James","anderson","james@1234");
// appService.DeleteUser("Amitesh");
appService.RetrieveAllUsers();