Satish
Satish

Reputation: 83

List items should create sharepoint group

I am facing one problem from last one week. I have one list having clients name. So when i add new client to the list then sharepoint user group should be created with client name as group name.

So is it possible to do that? if yes then how can i do this?

Upvotes: 0

Views: 477

Answers (1)

Steve B
Steve B

Reputation: 37690

You can do that using three possibles methods :

  1. Design a workflow that is fired on item creation and which is attached to the list

  2. Create an EventReveiver to handle ItemAdded event, and create the SP group

  3. Modify the new form of the list. I don't recommend this way because if customers are created from another place, the logic won't be fired.

Another way to solve such problems, but it requires more background of your need, is to split your data into several site collections, one for each customer. Each site collection can have a "Customer" group (maybe created from a site template), which contains the customer. As each site collections have distinct users and groups, it can avoid cross customer data leaking (due to misconfiguration of authorizations).

Upvotes: 1

Related Questions