getting users from groups

Hi, 

 

Is there a way I can get the users and their emails from a group? Just by passing the group, not the group name. 

 

TIA :)

  Discussion posts and replies are publicly visible

Parents
  • Hi apoorvam0001,
    If you want to fetch users from some group and get their email,
    used following function to get user list related to specific Group

    "getdirectgroupmemberuserspaging(getgroupbyname("Group_Name"),0,-1)"

    but remember,
    if you are using these function you should aware about security of Basic user, because security is not set
    then these function will not work for basic user,
    and already i am using these function in one of my project.
    if not work please convey me...
Reply
  • Hi apoorvam0001,
    If you want to fetch users from some group and get their email,
    used following function to get user list related to specific Group

    "getdirectgroupmemberuserspaging(getgroupbyname("Group_Name"),0,-1)"

    but remember,
    if you are using these function you should aware about security of Basic user, because security is not set
    then these function will not work for basic user,
    and already i am using these function in one of my project.
    if not work please convey me...
Children
No Data