Tag: .NET
Microsoft Web Platform Installer
by liquidpooled on Dec.01, 2008, under .NET, Internet Information Services, Microsoft, Server 2003, Server 2008, Vista, Visual Studio 2008
Microsoft has just released the Web Platform Installer (RC1). What is the Web Platform Installer you ask? From Microsoft:
“The Web Platform Installer (Web PI) is a simple tool that installs Microsoft’s entire Web Platform, including IIS7, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.”
The Web PI certainly looks promising as a quick ramp-up when setting up a development environment (or even a one-off server environment).
Custom Method for Checking Permissions on a SPWeb Object
by liquidpooled on Nov.21, 2008, under .NET, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
The out-of-the-box method DoesUserHavePermissions() on an SPWeb object does not take indirect membership into account (i.e. the current user is a member of a domain group that has access the the SPWeb being checked). To get around this, I use the following method (DoesUserHavePermssionsToWeb(SPUser, SPWeb)):