Take a look at get ( accountName ) good for identifying a single user
and Get ( accountPrivilegeSetName ) good for identifying a group of users.
Thanks Phil. Actually what I needed is already setup in Filemaker 10. As long as the username:password is the same for both dbs, the second login is automatic. The second prompt does not come up in this case, and that solves my problem.