SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I return a user or group in SharePoint Designer custom activity?

A return type of SPUser seems to be not possible. SharePoint Designer workflow does not recognize the return type.

public static DependencyProperty ResultProperty = DependencyProperty.Register("Result", typeof(SPUser), typeof(ApproverDelegatesLookup));

[DescriptionAttribute("the result")]
public SPUser Result
    get { return (SPUser)GetValue(ResultProperty); }
    set { SetValue(ResultProperty, value); }

    <Parameter Name="Result" Direction="Out" Type="Microsoft.SharePoint.SPUser, Microsoft.SharePoint" />
share|improve this question

I dont know if this helps but you could try this:

Lookup user info is the custom activity that you can use:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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