Returns the properties of the specified user.

Syntax

Visual Basic (declaration)
Public Function GetUser( _ 
ByVal AuthenticationTicket as String, _ ByVal UserName as String) as XmlNode

C# (declaration)
public XmlNode GetUser( 
string AuthenticationTicket, string UserName)

Parameters

AuthenticationTicket
    string infoRouter ticket
UserName
    string The UserName of the User to be retrieved

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the user properties have been retrieved successfully like the xml sample below.
if success attribute is "false", the error attribute indicates the encountered error.
The sub nodes return complete user information.

<response success="true" error="">
  <User exists="true" Domain="" UserName="adamb" FirstName="Adam" LastName="Boeve" Email="adamb@inforouter.com" LastLogonDate="1980-01-01 00:00:00" LastPasswordChangeDate="1980-01-01 00:00:00" AuthenticationAuthority="INFOROUTER" ReadOnlyUser="FALSE" Enabled="TRUE">
    <Preferences>
      <Language>
      </Language>
      <DefaultPortal>
      </DefaultPortal>
      <ShowArchives>FALSE</ShowArchives>
      <ShowHiddens>FALSE</ShowHiddens>
      <NotificationType>INSTANT</NotificationType>
      <EmailType>HTML</EmailType>
      <AttachDocumentToEmail>FALSE</AttachDocumentToEmail>
    </Preferences>
  </User>
</response>

Remarks

The caller must be the system administrator or a domain manager of the domain in which the user is a local member.