Creates a ticket using trusted user password.


Visual Basic (declaration)
Public Function CreateTicketforUser( _ 
ByVal TrustedUserPwd as String, _ ByVal UserName as String) as XmlNode

C# (declaration)
public XmlNode CreateTicketforUser( 
string TrustedUserPwd, string UserName)


    string infoRouter trusted user account password.
    string The username of the user that the ticket will be created for.

Return Value

returns xml fragment.
<response success="true" ticket="sid-xxxxxxx" error="">
if success attribute is "true", the user has been authenticated successfully.
if success attribute is "false", the error attribute indicates the encountered error.
You must use the authentication token returned in the ticket attribute in all subsequent calls.


The LDAP authentication must be configured.
The trusted LDAP account is defined in the TrustedLDAPAccount parameter of the web.config
a ticket for SYSADMIN account cannot be created using this method.

See Also