ReadResourceActivity Not Working?
readResourceActivity1.ActorId = parentActorID; readResourceActivity1.ResourceId = new Guid("fa4f5f62-9e2e-4c30-b146-a273414ec9e8"); ResourceType user = readResourceActivity1.Resource; I can't seem to get any objects back, everything is null.. I have tried a bunch of guid's and nothing works.. Maybe its just too late :) Joe Stepongzi - Identity Management Consultant - ILM MVP - www.microsoftIdM.com,ilmXframework.codeplex.com
May 18th, 2010 9:00am

Does the actor have permission to read the object?
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2010 11:49am

yes, the ActorID is an administrator.Joe Stepongzi - Identity Management Consultant - ILM MVP - www.microsoftIdM.com,ilmXframework.codeplex.com
May 18th, 2010 4:21pm

Also can use UpdateResourceActivity with no issues with the same ActorID and ResourceIDJoe Stepongzi - Identity Management Consultant - ILM MVP - www.microsoftIdM.com,ilmXframework.codeplex.com
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2010 4:33pm

what types of objects are u trying to read? Admin isn't God in FIM. Everything is still governed by MPR. For a quick test, add a MPR that grants admin read permissions on all attributes on all objects
May 18th, 2010 5:36pm

Thanks for the reply. The workflow was incorrect, I had the Read Activity after the code activity which caused it to return null. Thats what happens when you code at 2am... :) Works fine now.Joe Stepongzi - Identity Management Consultant - ILM MVP - www.microsoftIdM.com,ilmXframework.codeplex.com
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2010 5:59pm

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

Other recent topics Other recent topics