How to check if MOSS Standard or MOSS Enterprise is installed?
This link should sort you ...
Identifying sharepoint versions
Edit: The article is now gone, so see Dan's answer below
source to share
Since the link given in Paul's answer seems to require registering with ASP.NET weblogs, here is the answer, no need to go and go elsewhere:
Central Administrator → Operations → Upgrade and Migration → License Type Conversion
In the "Current License" box, you say. After entering the Volume License Key, you also need to enable Enterprise Features by visiting:
Central Administrator -> Operations -> Updates and Migration -> Enable Enterprise Features
Once this is done, you will not be able to return the installation to standard functionality.
From the code, an easy way to check your MOSS license is to check if the "Premium" (Enterprise) Farm Advanced features are installed in SPFarm.Local.FeatureDefinitions
:
99ee0928-7342-4739-865d-35b61ea4eaf0 BDCAdminUILinks e4e6a041-bc5b-45cb-beab-885a27079f74 ExcelServer a573867a-37ca-49dc-86b0-7d033a7ed2c8 PremiumSiteStapling a10b6aa4-135d-4598-88d1-8d4ff5691d13 ipfsAdminLinks cdfa39c6-6413-4508-bccf-bf30368472b3 DataConnectionLibraryStapling
source to share
Check out this article on the page "How do I check if SharePoint Standard or SharePoint Enterprise is installed?"
The SKU key is nothing more than a GUID as you can see in the above table, so we can easily retrieve this information using the below code, use the visual website and add this Render method to the UserControl.ascx.cs file ...
protected override void Render(HtmlTextWriter writer)
{
base.Render(writer);
const string SHAREPOINT2010FOUNDATION = "BEED1F75-C398-4447-AEF1-E66E1F0DF91E";
const string SHAREPOINT2010STANDARD = "3FDFBCC8-B3E4-4482-91FA-122C6432805C";
const string SHAREPOINT2010ENTERPRISE = "D5595F62-449B-4061-B0B2-0CBAD410BB51″;
SPFarm _spFarm = SPFarm.Local;
IEnumerable<Guid> _guid = _spFarm.Products;
foreach (var item in _guid)
{
string _skuID = item.ToString();
writer.Write("<div>\n");
if (_skuID.Equals(SHAREPOINT2010STANDARD, StringComparison.CurrentCultureIgnoreCase))
{
writer.Write("<span>" + _skuID + " – You have SharePoint 2010 Standard Edition" + "</span>\n");
}
if (_skuID.Equals(SHAREPOINT2010ENTERPRISE,StringComparison.CurrentCultureIgnoreCase))
{
writer.Write("<span>" + _skuID + " – You have SharePoint 2010 Enterprise Edition" + "</span>\n");
}
if (_skuID.Equals(SHAREPOINT2010FOUNDATION, StringComparison.CurrentCultureIgnoreCase))
{
writer.Write("<span>" + _skuID + " – You have SharePoint 2010 Foundation" + "</span>\n");
}
writer.Write("</div>\n");
}
}
source to share