Skip to main content
Skip table of contents

5.10 User Resources

5.10.1 ThruPublicUserInfo Structure


ThruPublicUserInfo structure contains information about user of Thru.

Item Name

Data Type

Sample Value

Comments

UserId

String

1Q1OBQWVHTROE

Identifier of user in Thru

Name

String

admin

User name that is used for sign-in in Thru

DomainUsername

String

If user is in domain, this field represent it domain name

FirstName

String

Ad

User’s first name

LastName

String

Test

User’s last name

FullName

String

Ad Test

User’s full name

Email

String

devnull@test.com

User’s e-mail address

Phone

String

User’s phone number

CompanyName

String

Company name

Role

Integer

5

User’s role on Thru:
None = 0,
Guest = 1,
Recipient = 2,
Member = 3,
Manager = 4,
Administrator = 5,
System = 6

DateCreated

DateTime

/Date(1337174868567)/

User’s date create (UTC)

DateModified

DateTime

/Date(1351871161613)/

User’s last date modify (UTC)

CreatedByUserId

String

Identifier of the user that is create the specified user

ModifiedByUserId

String

2T5LRH8F1R2QK

Identifier of the user that is modify the specified user

DateLastPasswordChanged

DateTime

/Date(1343838136630)/

The date of the last password modification

PasswordNeverExpires

Boolean

True

Flag indicate is the user password is never expires

Sample XML

CODE
<ThruPublicUserInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
CODE
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
CODE
  <UserId>1Q1OBQWVHTROE</UserId>
CODE
  <Name>admin</Name>
CODE
  <FirstName>Ad</FirstName>
CODE
  <LastName>3</LastName>
CODE
  <FullName>Ad 3</FullName>
CODE
  <Email>devnull@actimind.com</Email>
CODE
  <Phone></Phone>
CODE
  <CompanyName></CompanyName>
CODE
  <Role>5</Role>
CODE
  <DateCreated>/Date(1337174868567)/</DateCreated>
CODE
  <DateModified>/Date(1351871161613)/</DateModified>
CODE
  <ModifiedByUserId>2T5LRH8F1R2QK</ModifiedByUserId>
CODE
  <DateLastPasswordChanged>/Date(1343838136630)/</DateLastPasswordChanged>
CODE
  <PasswordNeverExpires>true</PasswordNeverExpires>
CODE
</ThruPublicUserInfo>

Data Transfer Object

public class ThruPublicUserInfo

{

  public string UserId

  public string Name

  public string DomainUsername

  public string FirstName

  public string LastName

  public string FullName

  public string Email

  public string Phone

  public string CompanyName

  public int Role

  public ThruServerDateTime DateCreated

  public ThruServerDateTime DateModified

  public string CreatedByUserId

  public string ModifiedByUserId

  public ThruServerDateTime DateLastPasswordChanged

  public bool PasswordNeverExpires

}

5.10.2 ThruPasswordInfo Structure


ThruPasswordInfo structure contains information that is required for password change.

Item Name

Data Type

Sample Value

Comments

OldPassword

String

password

Current user password

NewPassword

String

_password1

New password that is required to set

ConfirmPassword

String

_password1

Confirmation of the New password field

Sample

OldPassword=password&NewPassword=_password1&ConfirmPassword=_password1

Data Transfer Object

public class ThruPasswordInfo

{

  public string OldPassword

  public string NewPassword

  public string ConfirmPassword

}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.