Microsoft Dynamics CRM 4.0 - Thought Repository
Showing posts with label testing. Show all posts
Showing posts with label testing. Show all posts

Wednesday, April 29, 2009

Impersonate a CRM User without using Remote Desktop

Impersonate Dynamics CRM 4.0User

During the course of CRM development, you'll inevitably need to test out security roles and permissions for users. To accomplish this, start off by creating a new Active Directory user explicitly for testing. An Active Directory account is required because Dynamics CRM uses AD to create new users. So, if a user does not exist in AD, a new CRM user account cannot be created for him. Once an AD account has been created, create a new CRM user account for the test user. Assign the roles to the test user that you would like to experiment.



Next, I would normally initiate a new Remote Desktop session to another computer and login as the CRM test user but recently a co-worker introduced me to Window's "Run as..." command.

Windows Program Run As Comman

The "Run as..." command allows you to locally run programs using the Active Directory credentials of another user. Impersonating another user on your local computer is a time saver and negates the need to have another computer set up just for testing purposes.
Continue Entry»

View Comments

About Me

Henry Bow
I'm a programmer analyst working in sunny Orange Country, California. Since the beginning of 2008, I've been developing on the MS Dynamics CRM 4.0 platform. This blog will help me jot down some of the tips and neat features I've developed along the way while give me a chance to dabble into the curious world of analytics and SEO.
hbow27@gmail.com

Feed Rss

Subscribe to new posts via e-mail