how can i know through any api or vb function that which user has been logged on the system?
And is there any way to restrict a user from using any file or a folder?