Example #1
0
    //AM Issue#37633 04/29/2008 0.0.0.9
    public static string getUsersByGroupID(string GroupID)
    {
        string    strSYSUser = "";
        DataTable dtUsers    = DL_Groups.getUsersByGroupID(GroupID);

        if (dtUsers.Rows.Count > 0)
        {
            foreach (DataRow dr in dtUsers.Rows)
            {
                strSYSUser = (strSYSUser != "" ? strSYSUser + ";" + dr.Field <string>(1) + ":" + dr.Field <string>(0) : dr.Field <string>(1) + ":" + dr.Field <string>(0));
            }
        }
        return(strSYSUser);
    }