Table of Contents

Class User

Namespace
Google.Apis.Admin.Directory.directory_v1.Data
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

JSON template for User object in Directory API.

public class User : IDirectResponseSchema
Inheritance
User
Implements
IDirectResponseSchema
Inherited Members

Constructors

User()

public User()

Properties

Addresses

public virtual IList<UserAddress> Addresses { get; set; }

Property Value

IList<UserAddress>

AgreedToTerms

Indicates if user has agreed to terms (Read-only)

public virtual bool? AgreedToTerms { get; set; }

Property Value

bool?

Aliases

List of aliases (Read-only)

public virtual IList<string> Aliases { get; set; }

Property Value

IList<string>

ChangePasswordAtNextLogin

Boolean indicating if the user should change password in next login

public virtual bool? ChangePasswordAtNextLogin { get; set; }

Property Value

bool?

CreationTime

DateTime representation of CreationTimeRaw.

public virtual DateTime? CreationTime { get; set; }

Property Value

DateTime?

CreationTimeRaw

User's G Suite account creation time. (Read-only)

public virtual string CreationTimeRaw { get; set; }

Property Value

string

CustomSchemas

Custom fields of the user.

public virtual IDictionary<string, IDictionary<string, object>> CustomSchemas { get; set; }

Property Value

IDictionary<string, IDictionary<string, object>>

CustomerId

CustomerId of User (Read-only)

public virtual string CustomerId { get; set; }

Property Value

string

DeletionTime

DateTime representation of DeletionTimeRaw.

public virtual DateTime? DeletionTime { get; set; }

Property Value

DateTime?

DeletionTimeRaw

public virtual string DeletionTimeRaw { get; set; }

Property Value

string

ETag

ETag of the resource.

public virtual string ETag { get; set; }

Property Value

string

Emails

public virtual IList<UserEmail> Emails { get; set; }

Property Value

IList<UserEmail>

ExternalIds

public virtual IList<UserExternalId> ExternalIds { get; set; }

Property Value

IList<UserExternalId>

Gender

public virtual object Gender { get; set; }

Property Value

object

HashFunction

Hash function name for password. Supported are MD5, SHA-1 and crypt

public virtual string HashFunction { get; set; }

Property Value

string

Id

Unique identifier of User (Read-only)

public virtual string Id { get; set; }

Property Value

string

Ims

public virtual IList<UserIm> Ims { get; set; }

Property Value

IList<UserIm>

IncludeInGlobalAddressList

Boolean indicating if user is included in Global Address List

public virtual bool? IncludeInGlobalAddressList { get; set; }

Property Value

bool?

IpWhitelisted

Boolean indicating if ip is whitelisted

public virtual bool? IpWhitelisted { get; set; }

Property Value

bool?

IsAdmin

Boolean indicating if the user is admin (Read-only)

public virtual bool? IsAdmin { get; set; }

Property Value

bool?

IsDelegatedAdmin

Boolean indicating if the user is delegated admin (Read-only)

public virtual bool? IsDelegatedAdmin { get; set; }

Property Value

bool?

IsEnforcedIn2Sv

Is 2-step verification enforced (Read-only)

public virtual bool? IsEnforcedIn2Sv { get; set; }

Property Value

bool?

IsEnrolledIn2Sv

Is enrolled in 2-step verification (Read-only)

public virtual bool? IsEnrolledIn2Sv { get; set; }

Property Value

bool?

IsMailboxSetup

Is mailbox setup (Read-only)

public virtual bool? IsMailboxSetup { get; set; }

Property Value

bool?

Keywords

public virtual object Keywords { get; set; }

Property Value

object

Kind

Kind of resource this is.

public virtual string Kind { get; set; }

Property Value

string

Languages

public virtual object Languages { get; set; }

Property Value

object

LastLoginTime

DateTime representation of LastLoginTimeRaw.

public virtual DateTime? LastLoginTime { get; set; }

Property Value

DateTime?

LastLoginTimeRaw

User's last login time. (Read-only)

public virtual string LastLoginTimeRaw { get; set; }

Property Value

string

Locations

public virtual object Locations { get; set; }

Property Value

object

Name

User's name

public virtual UserName Name { get; set; }

Property Value

UserName

NonEditableAliases

List of non editable aliases (Read-only)

public virtual IList<string> NonEditableAliases { get; set; }

Property Value

IList<string>

Notes

public virtual object Notes { get; set; }

Property Value

object

OrgUnitPath

OrgUnit of User

public virtual string OrgUnitPath { get; set; }

Property Value

string

Organizations

public virtual IList<UserOrganization> Organizations { get; set; }

Property Value

IList<UserOrganization>

Password

User's password

public virtual string Password { get; set; }

Property Value

string

Phones

public virtual IList<UserPhone> Phones { get; set; }

Property Value

IList<UserPhone>

PosixAccounts

public virtual object PosixAccounts { get; set; }

Property Value

object

PrimaryEmail

username of User

public virtual string PrimaryEmail { get; set; }

Property Value

string

Relations

public virtual IList<UserRelation> Relations { get; set; }

Property Value

IList<UserRelation>

SshPublicKeys

public virtual object SshPublicKeys { get; set; }

Property Value

object

Suspended

Indicates if user is suspended

public virtual bool? Suspended { get; set; }

Property Value

bool?

SuspensionReason

Suspension reason if user is suspended (Read-only)

public virtual string SuspensionReason { get; set; }

Property Value

string

ThumbnailPhotoEtag

ETag of the user's photo (Read-only)

public virtual string ThumbnailPhotoEtag { get; set; }

Property Value

string

ThumbnailPhotoUrl

Photo Url of the user (Read-only)

public virtual string ThumbnailPhotoUrl { get; set; }

Property Value

string

Websites

public virtual IList<UserWebsite> Websites { get; set; }

Property Value

IList<UserWebsite>