none
How to assign Task to Sharepoint User Group?

    Question

  • i am using VS2010 and below code:-

      taskProperties.AssignedTo = workflowProperties.Item["Primary_x0020_Manager"].ToString().Split('#')[1];

    Now, instead of assignning the Task to a single user, I want to assign the Task to ONE ENTIRE SHAREPOINT USER GROUP.

     

    how can i do it?


    Friday, July 22, 2011 10:13 AM

Answers

  •             wtp.AssignedTo = "GroupName";
    you need to assign the group name only. SharePoint automatically resolve the group name in Task List.

    Rahul Sharma -------------------------- Coding is all about passion !!!!!!
    Friday, July 22, 2011 10:36 AM

All replies

  •             wtp.AssignedTo = "GroupName";
    you need to assign the group name only. SharePoint automatically resolve the group name in Task List.

    Rahul Sharma -------------------------- Coding is all about passion !!!!!!
    Friday, July 22, 2011 10:36 AM
  • ok, then my task will be Cmplted when any one of the Group members approve it OR all should approve?
    Friday, July 22, 2011 10:39 AM
  • It depends on your workflow settings. 
    Rahul Sharma -------------------------- Coding is all about passion !!!!!!
    Friday, July 22, 2011 10:41 AM
  • how to set assignedto to the list column on which workflow ran can any one help in this

    regards


    MCTS,ITIL

    Sunday, December 08, 2013 12:43 PM