Get current TeamCenter working directory

Hello

Is there a way to check in which directory/folder of TeamCennter the User is currently working in? I'm only able to set a new location with:
theSession.PdmSession.SetDefaultFolder(Folder)
Also this code doesn't result in an Error when the user specifies one, that isn't in TeamCenter. Is there a way to check if its available?

And how can I read the current working path?

Kind Regards