UserName Property

Official Content
This documentation is valid for:

This property sets the user name that must be entered to obtain authentication in the server.    

Syntax

&DataType.UserName

Type Returned:
Character

Description

SMTPSession: This property will be ignored if the value of the Authentication property is set to 0. 

DBConnection: Associates a user to the connection. The property must always contain the same value as the one returned by the userid('server') function.  This is true immediately after the connection is made and until the developer changes, if ever, its value. In this case the value may be different until the Connect() method is executed.

Scope

Extended Data Types: DBConnection, POP3Session, SMTPSession
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Authentication Property
Receive Method
Send Method
POP3Session Data Type
SMTPSession Data Type
DBConnection DataType
 





Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.