yes to the first question... WinXP Pro supports users/domains/workgroups. It only acts as a workstation though, so while it can join a domain, it can't be a domain controller. On the other hand, WinXP Home can only do users/workgroups (no joining a domain).
I'm not sure about your other question, but for stuff like that you would probably be better off with Win2k Server.