Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
Login property
Holds login information.
Type
A String value.Syntax
- Basic
object.Login [= value]
The Login(object,value) syntax has these parts:
The Login(object,value) syntax has these parts:
object | An expression evaluating to an object of type SSHUser. |
value | A String value. |
Remarks
This property is used during LoginPassword event, and allows you to authenticate user (together with Password property) and allow/deny access to your server to that particular user.If you are using NT native authentication (UseNTAuthentication set to True), you can change value of this property to create custom login/password combinations that define specific NT account. For example, you can
- create Guest account on your system (with password 'Guest'), and
- in Login event check for Login/Password entered by the user, test it matches something from your user's database (like 'Joe'/'Joe'). If combination is valid,
- set Login="Guest" and Password="Guest" and allow user to login.
Later, when shell is executed it will be executed under privileges of user 'Guest' because this is the value wodSSHD has read from Login/Password properties. Also, you should use Domain property to specify NT Domain that is used for authentication such user.