I have to give specific publishing target Type access to user using Core Service.
I have tried by giving the following
PublicationTargetData targetData = (PublicationTargetData)client.Read("tcm:", new ReadOptions()); IEnumerable<LinkToPublicationData> target Array = targetData.Publications.ToArray<LinkToPublicationData>(); targetData.Publications = targetArray.ToArray<LinkToPublicationData>(); client.Update(targetData, new ReadOptions());
But this one is for giving publishing target rights for Publication Level. But I need do it for user level. I have tried by giving
UserData schemaObj = (UserData)client.Read("tcmid of user", new ReadOptions());
but in schemaobj properties, I did not find any property related to publishing Target.