Show / Hide Table of Contents

Class User

The User resource.

Inheritance
object
User
Implements
IMessage<User>
IEquatable<User>
IDeepCloneable<User>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class User : IMessage<User>, IEquatable<User>, IDeepCloneable<User>, IBufferMessage, IMessage

Constructors

User()

Declaration
public User()

User(User)

Declaration
public User(User other)
Parameters
Type Name Description
User other

Properties

Active

Output only. Specifies whether or not the User is active. An inactive user cannot log in to the system or perform any operations.

Declaration
public bool Active { get; set; }
Property Value
Type Description
bool

DisplayName

Required. The name of the User. It has a maximum length of 128 characters.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

Email

Required. The email or login of the User. In order to create a new user, you must already have a Google Account.

Declaration
public string Email { get; set; }
Property Value
Type Description
string

ExternalId

Optional. An identifier for the User that is meaningful to the publisher. This attribute has a maximum length of 255 characters.

Declaration
public string ExternalId { get; set; }
Property Value
Type Description
string

Name

Identifier. The resource name of the User. Format: networks/{network_code}/users/{user_id}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

OrdersUiLocalTimeZone

Optional. The IANA Time Zone Database time zone, e.g. "America/New_York", used in the orders and line items UI for this User. If not provided, the UI then defaults to using the Network's timezone. This setting only affects the UI for this user and does not affect the timezone of any dates and times returned in API responses.

Declaration
public string OrdersUiLocalTimeZone { get; set; }
Property Value
Type Description
string

Role

Required. The unique Role ID of the User. Roles that are created by Google will have negative IDs.

Declaration
public string Role { get; set; }
Property Value
Type Description
string

RoleAsRoleName

RoleName-typed view over the Role resource name property.

Declaration
public RoleName RoleAsRoleName { get; set; }
Property Value
Type Description
RoleName

ServiceAccount

Output only. Whether the user is an OAuth2 service account user. Service account users can only be added through the UI.

Declaration
public bool ServiceAccount { get; set; }
Property Value
Type Description
bool

UserId

Output only. User ID.

Declaration
public long UserId { get; set; }
Property Value
Type Description
long

UserName

UserName-typed view over the Name resource name property.

Declaration
public UserName UserName { get; set; }
Property Value
Type Description
UserName
In this article
Back to top Generated by DocFX