How to close SAP session using UiPath?

Try GetProcessAdmin(0)