Can someone please point me in the right direction...

I need to find out file / directory permissions for the user logged on... Is this an API call?

Cheers

Dan