【发布时间】:2013-10-22 08:59:15
【问题描述】:
我正在尝试检索域中的所有用户,但它永远不会起作用。我的代码从未出现任何错误。
我在我的项目中添加 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();
【问题讨论】:
标签: c# google-api google-apps