Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

com.hp.itsm.ssp.beans.SdClientBean Documentation / Questions

SOLVED
Go to solution
Highlighted
Carlos Thompson
Regular Collector

com.hp.itsm.ssp.beans.SdClientBean Documentation / Questions

Is there a javadoc or reference for the HPOVSD 4.5 Service Pages sp.jar file?

Maybe even the original source code for the sp.jar that can be recompiled to access postSP18 custom fields??

Specifically I need more info on methods inside:

com.hp.itsm.ssp.beans.SdClientBean

Even more specifically, I am in need of a method or the name of the boolean attribute to try to figure out if a user logging into Service Pages 4.5 has a SD account or an SP account.

In other words, I'm trying to figure out how to use the com.hp.itsm.ssp.beans.SdClientBean class to check where the logging in user is a currurent user or not. Trying to check whether the "Concurrent user" boolean is Yes or No, but I don't know how to call it from the damn undocumented Service Pages Java Bean.

Thanks
Carlos
1 REPLY
Vasily Kamenev
Honored Contributor
Solution

Re: com.hp.itsm.ssp.beans.SdClientBean Documentation / Questions

HI
About account: use next bean.is_specialist() .
About license type: bean.current_user_person().getAccount().getConcurrentUser() .
If you like get some other, what not in sp.jar use bean.sd_session() that return APiSDSession and you can use it as web-api.jar functions.

Vasily
//Add this to "OnDomLoad" event