Sushil, a reader of Siebel Unleashed shared a tip, which looks useful so sharing it with all.
If you have requirement of logging off user based on certain conditions then you can use LS Medical Product Issue Service BS to logoff a user from application.
Here is sample code:
var currentLoginName;
currentLoginName = LoginName();
if (currentLoginName = "DUMMY")
{
bsService = GetService("LS Medical Product Issue Service");
bsService.InvokeMethod("Logoff");
}
P.S: I have not tried the script personally and Business Service mentioned in the tip seems to be a specialized business service available only for SIA Applications.
Let us know your experience if you have had a chance to use it.


