Disconnect(Value: IConnectedUserInfo);
Disconnect(Value: Prognoz.Platform.Interop.Metabase.IConnectedUserInfo);
Value. User connected to repository.
The Disconnect method disconnects a user from the repository.
A message, telling that connection was disabled by the administrator, is displayed to a disconnected user. The user will not have an opportunity to save changes.
The Oracle server should have the Select grant on the V_$SESSION view for the user, that performs viewing or disconnecting of the users that are connected to the repository.
Executing the example requires the USER102 user connected to the current repository.
Add a link to the Metabase system assembly.
After executing the example the user, connected to the current repository under user account - USER102.
See also: