Been working with Visual Studio 2013 and I am trying to send an email to all the users and users within the groups entered into a UserMulti field (One which allows people and groups).
I have gotten to a stage where I have the ids from the list item but only the id is given which could belong to either a user or group.
I have some activities which lookups the members of the id and loops through them sending an email to them all. the workflow stops however when it reaches an id belonging to a user.
Is there some sort of expression I can use in an if branch to deduce whether a principal id belongs to a user or group?