Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
mySearcher.Filter = "(CN=" + strFullName + ")";
SearchResult sr = mySearcher.FindOne();
string strUserGroup;
ResultPropertyCollection myResultPropColl = sr.Properties;
foreach(string sc in myResultPropColl.PropertyNames)
{
if(sc == "memberof")
{
for (int w = 0; w < myResultPropColl[sc].Count; w++)
{
strUserGroup = (myResultPropColl[sc])[w].ToString();
strUserGroup = strUserGroup.Remove(0,3);
strUserGroup = strUserGroup.Remove(strUserGroup.IndexOf(",",0,strUserGroup.Length-1),(strUserGroup.Length - strUserGroup.IndexOf(",",0,strUserGroup.Length-1)));
}
}
}