hey guys
Literally a minute ago my if else statement checking if my active directory attributes are null was working but now I keep on getting the error operator "!" can not be applied to string.
string firstName;
if(!(firstName = null)){
firstName = convert.ToString(found.Name);
}
else{
firstName = "unknown"
}
i declare the string right before it