Thanks David, I have the getusername function within my database already. The bit I was concerned about (and I think this would be the case regardless) the table holding who can have access to what could easily be changed so a user could add thier login name to the access what ever I am trying...