windowsdomainaccount

How do you transform a upn name to a login name?

How do you transform a upn name like "[email protected]" to the corresponding NT account name, which is frequently "EXAMPLE\user"? In the domains I'm familiar with, I can take the first part after the '@' sign, but I'm concerned that this is not guaranteed to be correct. Do I have to run an ldap query? Would it be a property on the use...

Unlocking Locked Out accounts using PowerShell (not with Quest AD cmdlets)

I'm writing a GUI tool using PowerShell that is able to do most AD related tasks with just a user name and button click. I've done all the usual ones (Create / Remove Users, Create / Remove Security & Distribution Groups, Resetting Passwords, etc) but can't find away of unlocking a "Locked Out" account. I'm trying to do this without usi...

Change of domain deleted data in Team Foundation Server?

Dear All, Maybe my google-fu is failing me, but I cannot seem to find any information on the following: My Windows user account was recently moved, accidentally, to another domain in my company's Active Directory. While in the other domain, I was unable to access my data stored in TFS 2008 (e.g. shelvesets, pending changes, workspaces...

Run asp.net application under domain account without joining the domain?

My feeling says it's not posible but anyway I am curious if there is at least a workaround for accomplish this. Basically I am working at my client site and my machine is not connected to the domain. What I want to do is running a web application locally under a domain account, and using the webdev server. The webapp uses the default au...