示例#1
0
        /// <summary>
        /// Returns a list of O365 Group IDs where a question has been asked, which also matches the list of Group Ids passed in
        /// </summary>
        /// <param name="tenantId">Tenant ID</param>
        /// <param name="memberOf">List of all Group Ids to filter by</param>
        /// <returns>List of all O365 Group IDs</returns>
        public static List <string> GetTeamGroupIdsWithQuestions(string tenantId, List <string> memberOf)
        {
            try
            {
                var groupIds = SQLAdapter.GetTeamGroupIdsWithQuestions(tenantId, memberOf);

                return(groupIds);
            }
            catch (Exception e)
            {
                return(null);
            }
        }