cancel
Showing results for 
Search instead for 
Did you mean: 

How to bifurcate a buyer and supplier in a script

tejasjani
Advisor
Advisor
0 Kudos

Hi Experts,

How can I bifurcate if the current logged-in user is a a buyer or a supplier from inside a script using code?

Thanks

Tejas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

session variable is available by default which is of IapiSessionContextIfc, get the user from this and you shall able to check the usertype which can be a buyer user or seller user.let me know if u face any issue.

Thanks,

Uday