1

We are working on Tridion User group Reconciliation. So, we are checking if there is a possibility to add the Publications to users groups using Tridion Core Service. Kindly help with this.

  • Rule of thumb: if the UI can do it, then CoreService can do it. The UI uses the CoreService. – Nuno Linhares May 30 at 10:51
  • Hi Nuno,Thanks for your reply. Can you provide some code reference to add the list of publications to the user groups through core service. – Mounika Kallu May 30 at 11:29
  • Your question is “is it possible”, and the answer to that is yes. In typical Stack Exchange model, please show what you tried and where you are stuck, and the community will step in to help. – Nuno Linhares May 30 at 23:45
  • Please, can you show the specific piece of code that you've tried? stackoverflow.com/help/how-to-ask - this link describes how to ask a question. – Sabarish Senthilnathan May 31 at 19:31
8

You can download the Core Service API reference documentation here. If you look at the documentation you can see that the Groups are represented by the GroupData class. In GroupData, you can set the User's group membership by using the GroupMemberships property and each membership is represented by the GroupMembershipData class. In GroupMembershipData you'd want to add the publications using the Scope property in GroupMembershipData.

enter image description here

This answer might help you too.

  • Hi Sabarish. Great to see you welcoming a new contributor and pointing them to the help. Thanks for that. Could I suggest that you move your first paragraph to a comment? That will help people focus on the technical content of your answer. – Dominic Cronin May 31 at 16:22
  • 1
    Hi Dominic! Thanks for your comment. Moving the first paragraph to a comment makes sense. I'll do that. – Sabarish Senthilnathan May 31 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.