<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=LoginUserWebmail%28%29</id>
		<title>LoginUserWebmail() - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=LoginUserWebmail%28%29"/>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=LoginUserWebmail()&amp;action=history"/>
		<updated>2026-04-05T22:18:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=LoginUserWebmail()&amp;diff=6&amp;oldid=prev</id>
		<title>APIAdmin: New page: This function will allow a developer, using an administrative username and password, to obtain a SessionID variable that can be used to redirect a web page viewer directly to the webmail c...</title>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=LoginUserWebmail()&amp;diff=6&amp;oldid=prev"/>
				<updated>2008-08-22T20:51:42Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This function will allow a developer, using an administrative username and password, to obtain a SessionID variable that can be used to redirect a web page viewer directly to the webmail c...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will allow a developer, using an administrative username and password, to obtain a SessionID variable that can be used to redirect a web page viewer directly to the webmail client as a particular user.&lt;br /&gt;
&lt;br /&gt;
===Input Parameters===&lt;br /&gt;
&lt;br /&gt;
Five strings:&lt;br /&gt;
    Administrative username,&lt;br /&gt;
    Administrative password,&lt;br /&gt;
    Domain name,&lt;br /&gt;
    User ID (the portion of the email address before the @ symbol),&lt;br /&gt;
&lt;br /&gt;
    SessionID (will hold the SessionID if one is obtained)&lt;br /&gt;
&lt;br /&gt;
===Return Values===&lt;br /&gt;
If successful, the return value of the function will be 1 and the SessionID will be non-null.&lt;br /&gt;
&lt;br /&gt;
Consult the [[resultcodes|Result Code Table]] for a list of result codes and their meaning.&lt;br /&gt;
&lt;br /&gt;
===Using The SessionID===&lt;br /&gt;
Pass the SessionID and the email address to a redirect URL to log in a user with the generated SessionID. The ID is good for about 60 seconds. The variables may be passed with either GET or POST. The following URL's are examples:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://secure.webmail.us/mail/src/redirect.php&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;?user_name=address@domain.com&amp;amp;emailaddress=address@domain.com&amp;amp;sessionID=xxxxxxx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://www2.webmail.us/mail/src/redirect.php&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;?user_name=address@domain.com&amp;amp;emailaddress=address@domain.com&amp;amp;sessionID=xxxxxxx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hostname of a private label webmail site may also be used.  Please note that the SessionID descriptor passed in the URL must be capitalized as shown.&lt;br /&gt;
&lt;br /&gt;
===Other Languages===&lt;br /&gt;
English is used by default, but other languages are available as well.  To access another language add:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;amp;lang=[2 letter language code]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the redirect URL.  Supported languages and their language codes are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    Spanish = es&lt;br /&gt;
    French  = fr&lt;br /&gt;
    German  = de&lt;br /&gt;
    Greek   = gr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>APIAdmin</name></author>	</entry>

	</feed>