The user has administrator role, so i thing the error code is incorrect,
here is my code:
DynamicEntity dEntity = new DynamicEntity();
// Set the name of the entity type.
dEntity.Name = Name;
// Set the properties from the dictionnary
dEntity.Properties = new Property[dicProperty.Count];
int i = 0;
foreach( KeyValuePair<string, string> kvp in dicProperty )
{
StringProperty s = new StringProperty();
s.Name = kvp.Key;
s.Value = kvp.Value;
dEntity.Properties[i++] = s;
}
// Create the target.
TargetCreateDynamic targetCreate = new TargetCreateDynamic();
targetCreate.Entity = dEntity;
// Create the request object.
CreateRequest create = new CreateRequest();
// Set the properties of the request object.
create.Target = targetCreate;
// Execute the request
CreateResponse created = (CreateResponse) wrapper.Execute(create);
Is this correct ? where is my error?
Thanks
CS
HTH,
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"WT" <W...@newsgroups.nospam> wrote in message
news:%23BxnabG...@TK2MSFTNGP11.phx.gbl...
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"WT" <W...@newsgroups.nospam> wrote in message
news:efYKELPQ...@TK2MSFTNGP09.phx.gbl...