FIM 2010 client
Hello, I'm using the FIM2010 client from codeplex and it contains code that supplies the user id and password for execution. I'd like to run the code in the context of the user calling the code. Any ideas on what changes are required to the client as well as the FIM web service? Thanks Neil
June 27th, 2011 2:22am

Look in the code for the FIM resource guid "e05d1f1b-3d5e-4014-baa6-94dee7d68c89" ... without knowing the code base, but having written the odd custom activity, you will probably find that this is currently being set as the ActorId property of the resource you're updating. You need to set this to the ResourceID of the person object matching the calling user.Bob Bradley, www.unifysolutions.net (FIMBob?)
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2011 7:51pm

UNIFYBob's answer i believe is not correct. When the activity code is run, it's run as FIMService service account. Setting ActorId makes sense there. Neil, i believe what you want is Impersonation. Search for Windows Impersonation for more detailsThe FIM Password Reset Blog http://blogs.technet.com/aho/
July 6th, 2011 1:03am

Interesting ... going by http://msdn.microsoft.com/en-us/library/microsoft.resourcemanagement.workflow.activities.readresourceactivity.actorid.aspx it seemed to back up what I was saying ... but then I realised I was looking at the ReadResourceActivity ... we wanted the UpdateResourceActivity (http://msdn.microsoft.com/en-us/library/microsoft.resourcemanagement.workflow.activities.updateresourceactivity.actoridproperty.aspx) and there isn't anything much to go on there. Bob Bradley, www.unifysolutions.net (FIMBob?)
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 1:05am

if u are writing a custom activity, setting ActorId is what u want but not when u are writing ur own WS clientThe FIM Password Reset Blog http://blogs.technet.com/aho/
July 7th, 2011 2:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics