You dont have permission to use this API yet. Just wait a little bit and problably you will be able to use it.
2009/1/13 tang qingyuan <[email protected]> > > Hi team > > I am a new member of using the google apps API, our company is using > the Google Apps Standard Edition,I am using the APIs to retrieve > mailList. I can login in via webPage and do this job so the privilege > should be OK ,but when it process in code ,it return :"You are not > authorized to access this API" > > below is my code: > > String domain = "vanhe.info"; > String adminEmail = "[email protected]"; > String adminPassword = "XXXXXX"; > > if (domain != null && domain != "" && adminEmail != null && > adminEmail != "" > && adminPassword != null && adminPassword != "") { > try > { > AppsForYourDomainClient appClient = new > AppsForYourDomainClient > ( adminEmail, adminPassword, domain ); > EmailListFeed emailListFeed = > appClient.retrievePageOfEmailLists > ("testMailList"); > > > -- Marcus Mazzo Laprano Programador Java http://marcusmazzo.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
