LocalUser Property  
 

Determines if the server should perform user authentication using the Windows local account database.

Syntax

object.LocalUser [= { True | False } ]

Remarks

The LocalUser property determines if the server should perform user authentication using the Windows local account database. If this option is not specified, the application is responsible for creating virtual users using the AddUser method or implementing an OnAuthenticate event handler and authenticating client sessions individually.

If this property is set to True, a client can authenticate as a local user, however the session will not inherit that user's access rights. All files that are accessed or created by the server will continue to use the permissions of the process that started the server. For example, consider a server application that was started by local user A. Next, a client connects to the server and authenticates itself as local user B. When that client uploads a file to the server using the PUT command, the file that is created will be owned by user A, not user B. This ensures that the server application retains ownership and control of the files that have been created or modified.

The default value for this property is False.

Data Type

Boolean

See Also

IsAuthenticated Property, AddUser Method, Authenticate Method, OnAuthenticate Event