I have created an extended class from the change request and use the sdk to create instances of this extended change request, i can set the values of the title,display name, etc and the customized properties but cannot set the created by property.
Sample of the code below
this.changeProjection.Object[this.changeClass, "Id"].Value = "some id";
this.changeProjection.Object[this.changeClass, "Title"].Value = "XYZ Title"
I have tried to use same approach and set the user using
this.changeProjection.Object[this.changeClass, "CreatedByUser"].Value = changeId;
but i get error Class [MyNameSpace.ChangeRequest] does not contain a property with name 'CreatedByUser'.
Appreciate any help.
http://www.scsmsolutions.com/ freemanru (at) gmail (dot) com