Change the Current User in a way which does not lose all cached information such as global collections and permissions.

<para> To use this method, the business layer must have been initialised using the AllowQuickLogin flag and a Database must currently be open. </para> <para> Note that certain checks that are performed when opening a Database are not checked here since they are part of the Database opening process. </para>

Syntax

ISfinSupport.CurrentUserQuickLogin(userId, password, [mustHaveWebAccess], [refreshBusinessLayerState], [userInactiveForWeb])

Parameters

NameTypeOptionalByRefDescription
userId String The User's Id.
password String The User's Password.
mustHaveWebAccess Boolean Optional Ensure that this User has Web Access. If omitted, a value of False is assumed.
refreshBusinessLayerState Boolean Optional Indicates whether to refresh business layer state such as global collections that may have changed. A refresh will only occur if the collection has changes hence the overhead of setting this to True is low. If omitted, a value of True is assumed.
userInactiveForWeb Boolean Optional ByRef Returns True if the User is inactive for Web Access, i.e., they are Inactive or do not have Web Access granted. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISfinSupport
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0