Dear Gurus,

I am using logonuser function to check the user is valid or not, but sometimes this function authenticates the invalid user also.

How it could be ? Is there any other function exists to find that the user is valid or not.