Need to Search if Child Group or User present under Parent Group

How to search if the searchable group/user  is a part of parent group

  Discussion posts and replies are publicly visible

Parents
  • Hi Lokesh,

    Basically we can't able to serach both User & Group at the same time, so you have to use the two diffenrent funtions as mentioned below:

    For Searching the User presented in the group, you can use the "isusermemberofgroup(username, groupId)" function, it returns the boolean result, if user existed in group, it returns true(),other than it returns false().
    For checking the members group, use the "getmembergroups(parentGroup)" ,This function will return the member groups of a specified group, or null if no groups are members.

    If you want in both in single fuctionality, you have to use the third party plugin
    forum.appian.com/.../summary
    Returns the function " getgroupbyname() & getgroupmemberuserspaging()"


    Hope this helpful
    best,
    Rama
Reply
  • Hi Lokesh,

    Basically we can't able to serach both User & Group at the same time, so you have to use the two diffenrent funtions as mentioned below:

    For Searching the User presented in the group, you can use the "isusermemberofgroup(username, groupId)" function, it returns the boolean result, if user existed in group, it returns true(),other than it returns false().
    For checking the members group, use the "getmembergroups(parentGroup)" ,This function will return the member groups of a specified group, or null if no groups are members.

    If you want in both in single fuctionality, you have to use the third party plugin
    forum.appian.com/.../summary
    Returns the function " getgroupbyname() & getgroupmemberuserspaging()"


    Hope this helpful
    best,
    Rama
Children