protected override void ProcessRecord()
{
var _DgcGoogleAppsService = new Dgc.GoogleAppService();
var _Domain = _DgcGoogleAppsService.GetDomain(_AdminUser);
try
{
var _UserService = new AppsService(_Domain, _AdminUser, _AdminPassword);
WriteObject(_UserService);
}
catch (AppsException _Exception)
{
WriteObject(_Exception,true);
}
}