We have to check peoiple picker is activated or not for the CA and web application. First check AD features are are installed or not. or Then using stsadm this coomand execute. STSADM.exe -o getsiteuseraccountdirectorypath -url http://intranet If you get output like this: DC=childdomain,DC=rootdomain,DC=local Then you need to run the following command to change the people picker search scope to search the entire forest: STSADM.exe -o setsiteuseraccountdirectorypath -path "" -url http://intranet or stsadm –o setproperty –pn "peoplepicker-searchadforests" –pv "Domain" -url http://sharepointlive:8080/ OR Using this powershell script $webapp = get -spwebapplication http : / / myurl . com $webapp . peoplepickersettings #this showed that there was something set in a sub property of peoplepickersettings called ActiveDirectoryCustomFilter. #next step to fix this was to reset that property, the code below was used: $webapp ...
Every Content database in SharePoint Contains an EventCache table that is the change log for objects contained in the database. Each row in this table is depicting a change in an object where columns usually contain information such as the date and time of a change, the type of object that was changed, the nature of the change, and a unique identifier for the object. EventCache table is important because it stores the list of site events for which users might have requested alerts.
What are constants in C#? Constants in C# are immutable values which are known at compile time and do not change for the life of the program. Constants are declared using the const keyword. Constants must be initialized as they are declared. You cannot assign a value to a constant after it isdeclared. An example is shown below. using System; class Circle { public const double PI = 3.14; public Circle() { //Error : You can only assign a value to a constant field at the time of declaration //PI = 3.15; } } class MainClass { public static void Main() { Console.WriteLine(Circle.PI); } } Can you declare a class or a struct as constant? No, User-defined types including classes, structs, and arrays, cannot be const. Only the C# built-in...
Comments