I've never heard of Novell, and no I don't know how to get the username (besides using the API Call GetUserName). But I do have a suggestion.

Why don't you firstly check whether the file excists, using the Dir() function. If not, the file doesn't excist. Then, check it's file attributes (using the API Call GetFileAttributes, or the GetAttr() function). And at last, attempt opening the file; on error, the file is opened. It cannot be because it's protected or something, because you've checked it's attributes.

I know this is not fully waterproof, but it's the least I could do


Quintonir