protected bool UserIsGroupParticipant(AdobeConnectProvider provider, UserInfo user, Principal groupPrincipal) { var participants = provider.GetGroupPrincipalUsers(groupPrincipal.PrincipalId, user.UserId); return(participants.Success && participants.Values.Any(x => x.Login == user.Login)); }