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" />
| 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: http://spdactivities.codeplex.com/



| improve this answer | | | | |

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.