-
Notifications
You must be signed in to change notification settings - Fork 10
GAUser
#GAUser Objects
The GAUser object is what you'll get returned when using Cmdlets like Get-GAUser. While there are no special methods to be aware of, it's good to know about the Properties it contains.
If you take the main object and throw it through Get-Member you'll see that in addition to a handful of primary information points (GivenName, FamilyName, Suspended, etc) you have this final Property of userObject.
The userObject property is the entire result that is coming back from Google, as formatted by the underlying API. If you call up just that property, you'll see something like this:
Addresses :
AgreedToTerms : True
Aliases : {alias1@mydomain.com, alias2@mydomain.com, alias3@mydomain.com}
ChangePasswordAtNextLogin : False
CreationTimeRaw : 2011-07-06T16:23:51.000Z
CreationTime : 7/6/2011 12:23:51 PM
CustomSchemas :
CustomerId :
DeletionTimeRaw :
DeletionTime :
Emails : {...}
ETag : "16...bk"
ExternalIds :
HashFunction :
#etc, etc, etc.
You'll notice this contains a lot of information. I decided that since this information is coming back from Google anyways, you should have full access to this information just in case you need it. That way if you're particularly savvy you can really drill down in to the results you're getting to pull out specific information, if you'd like.
Note: The information displayed here is a local, read-only copy! If you change something here, it will NOT be reflected on the server.
Ultimately, this is something that most people can probably forget about 99% of the time. But in case you need it - it's there!
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads