google api - GoogleApps java client information -


i in way of writing java client on googleapps managing users , groups.i worked on provisioning api , deprecated. info, admin sdk's directory api need used. went links given couldnt find sample client start working on directory api. please guide me on info or sample client start with

thanks

you right. there no (admin sdk) directory api sample follow (list of api samples)

if i'd follow service account sample code (i guess it's need use)

then can learn how client library works looking @ other samples , use following directory api reference

edit:

example of user password reset:

user user = service.users().get(username + '@' + domainname).execute(); user.sethashfunction("sha-1"); user.setpassword(digestutils.sha1hex(newpassword)); service.users().update(username + '@' + domainname, user).execute(); 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -