Returns the owner of a document or a folder in the specified path.

Syntax

Visual Basic (declaration)
Public Function GetOwner( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode GetOwner( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string an infoRouter document or folder path

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the owner information has been retrived successfully like the xml sample below.
if success attribute is "false", the error attribute indicates the encountered error.
Sub nodes returns the owner information

<response success="true" error="">
  <User exists="true" Domain="" UserName="sysadmin" FirstName="System" LastName="Administrator" Email="sysadmin@infoRouter.com" LastLogonDate="2007-04-11 11:10:00" LastPasswordChangeDate="2007-07-12 11:55:40" AuthenticationAuthority="INFOROUTER" ReadOnlyUser="FALSE" Enabled="TRUE">
    <Preferences>
      <Language>en</Language>
      <DefaultPortal>
      </DefaultPortal>
      <ShowArchives>TRUE</ShowArchives>
      <ShowHiddens>TRUE</ShowHiddens>
      <NotificationType>INSTANT</NotificationType>
      <EmailType>HTML</EmailType>
      <AttachDocumentToEmail>TRUE</AttachDocumentToEmail>
    </Preferences>
  </User>
</response>

See Also