Hayden Morris
Hayden Morris

Reputation: 113

How to get the google domain of user?

I want to know if it's possible to get the google domain a user belongs to or the domain of the groups a user belongs to. I don't know if this is possible does anyone know?

Upvotes: 0

Views: 37

Answers (1)

Andrei Volgin
Andrei Volgin

Reputation: 41099

You can use

user.getAuthDomain()

See: Class User in Java or in PHP

Upvotes: 1

Related Questions