I wanna get SpGroup name from username in visual studio workflow.
I used the following code
SPGroupCollection grp = workflowProperties.Web.CurrentUser.Groups;
foreach (SPGroup group in grp)
string groupName = group.Name;
but i always getting administrator's group.not user's.
pls help me to solve it...
View Complete Post