Hello everyone,
I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5. I am wondering whether SharePoint has any means to set current user to be some specific user? For example, I want to set the user to be administrator automatically when people connects from a specific IP address to grant such people high privilege. Another example is when people connects my sie using special connection string, like http://mysite/default.aspx?specialtestuser=foo, then I will set current user to be foo. Appreciate if any code samples to reference?
thanks in advance, George