google admin sdk - Directory.members().insert is not working using the Java client library -


I am using the Java Client library for the Directory API here:

I have joined The user and the insert group are working fine, but for some reason when I try to include a member, it does not work, no exception is thrown. Here's the code:

  member member = new member (); Member.setEmail ("someemail@mydomain.com"); Member.setRole ("subscribers"); //member.setKind("admin#directory#member "); Not sure if I need it with member and without .setType ("USER"); // Docs says "member" but does not seem true. Both tried the client. Members () Insert (myGroupId, member);  

You do not need to type in your own way and after typing "Client.members (). Enter (myGroupId, member);" Do you make the execution call?


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -