User Data Object

 

Defines a user.

<xs:complexType name="User">
  <xs:sequence>
    <xs:element minOccurs="0" name="ContactInfo" nillable="true" type="tns:ContactInfo" />
    <xs:element minOccurs="0" name="CustomerAppScope" nillable="true" type="tns:ApplicationType" />
    <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xsd:long" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xss:long" />
    <xs:element minOccurs="0" name="JobTitle" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="LastModifiedByUserId" nillable="true" type="xsd:long" />
    <xs:element minOccurs="0" name="LastModifiedTime" nillable="true" type="xsd:dateTime" />
    <xs:element minOccurs="0" name="Lcid" nillable="true" type="tns:LCID" />
    <xs:element minOccurs="0" name="Name" nillable="true" type="tns:PersonName" />
    <xs:element minOccurs="0" name="Password" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="SecretAnswer" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="SecretQuestion" type="tns:SecretQuestion" />
    <xs:element minOccurs="0" name="UserLifeCycleStatus" nillable="true" type="tns:UserLifeCycleStatus" />
    <xs:element minOccurs="0" name="TimeStamp" nillable="true" type="xsd:base64Binary" />
    <xs:element minOccurs="0" name="UserName" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="IsMigratedToMicrosoftAccount" nillable="true" type="xsd:boolean" />
  </xs:sequence>
</xs:complexType>

ElementDescriptionData TypeUpdate
ContactInfoThe user’s contact information.ContactInfoOptional
CustomerAppScopeConfirms that the customer to whom this user belongs is an advertiser.ApplicationTypeRead-only
CustomerIdThe identifier of the customer to whom this user belongs.longRead-only
IdThe system generated identifier of the user.longRequired
IsMigratedToMicrosoftAccountIf true, the user can be authenticated using a Microsoft Account. For more information, see Managing User Authentication with OAuth.booleanRead-only
JobTitleThe user's job title. The title can contain a maximum of 50 characters.stringOptional
LastModifiedByUserIdThe identifier of the last user to update the user’s information.longRead-only
LastModifiedTimeThe date and time that that the user information was last updated. The value is in Coordinated Universal Time (UTC).

The date and time value reflects the date and time at the server, not the client. For information about the format of the date and time, see the dateTime entry in Primitive XML Data Types.
dateTimeRead-only
LcidThe locale to use when sending correspondence to the user by email or postal mail. The default is EnglishUS.LCIDOptional
NameThe name of the user.PersonNameOptional
PasswordThe user’s Bing Ads managed sign-in password.

The GetUser operation does not return the password.
stringRead-only
SecretAnswerThe answer to the secret question that is specified in the SecretQuestion element. The answer must contain a minimum of five characters and a maximum of 64 characters.stringOptional
SecretQuestionA question from a list of predefined questions that the user selects to use as his or her secret question. The SecretAnswer element contains the user’s answer to the question. The secret question and answer are used to validate the user in case the user forgets his or her password, and requests it.SecretQuestionOptional
TimeStampA time-stamp value that the system uses internally to reconcile updates when you call UpdateUser or DeleteUser.base64BinaryRequired
UserLifeCycleStatusThe status of the user.UserLifeCycleStatusRead-only
UserNameIf the value of IsMigratedToMicrosoftAccount is false, this element contains the user's Bing Ads managed sign-in user name. The name is case-insensitive.

If the value of IsMigratedToMicrosoftAccount is true, this element contains the email address corresponding to the authenticated Microsoft Account.

Note: The email address of the Microsoft Account may differ from the Email element of the ContactInfo.
stringRead-only

CustomerManagementService.svc v11

Namespace: https://bingads.microsoft.com/Customer/v11

UserInfo

Show: