<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4126985520350746834.post5813672762805847463..comments</id><updated>2008-11-02T11:57:08.373Z</updated><category term='Personal'/><category term='Coding'/><category term='WCM'/><category term='Continuous Integration'/><category term='jQuery'/><category term='master pages'/><category term='debugging'/><category term='workflow'/><category term='speaking'/><category term='page layouts'/><category term='security'/><category term='lists'/><category term='deployment'/><category term='SharePoint'/><category term='AJAX'/><category term='content deployment'/><category term='ghosting'/><category term='codeplex'/><category term='help'/><category term='TechEd'/><category term='customizing'/><category term='Virtual Server'/><category term='CAS policy'/><category term='site definitions'/><category term='user group'/><category term='CustomAction'/><category term='SP2010'/><category term='feature-stapling'/><category term='Content Deployment Wizard'/><category term='webparts'/><category term='feature receiver'/><category term='site columns'/><category term='configuration'/><category term='features'/><category term='central admin'/><category term='DelegateControl'/><category term='MOSS'/><category term='content migration API'/><category term='VSeWSS'/><category term='Virtual Machine Manager'/><category term='content query web part'/><category term='content types'/><category term='InfoPath'/><title type='text'>Comments on Chris O'Brien: Automatically setting custom permissions on new si...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.sharepointnutsandbolts.com/feeds/5813672762805847463/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html'/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_DPonmXhJQ4g/SiFZBcX_Q1I/AAAAAAAAAa0/14b7VTN0FZM/s1600-R/28f5735.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-3848614425502625728</id><published>2008-11-02T11:57:00.000Z</published><updated>2008-11-02T11:57:00.000Z</updated><title type='text'>Hi Arvind,&lt;br&gt;&lt;br&gt;Glad you found it useful. &lt;br&gt;&lt;b...</title><content type='html'>Hi Arvind,&lt;BR/&gt;&lt;BR/&gt;Glad you found it useful. &lt;BR/&gt;&lt;BR/&gt;The changes you mention could be slightly more complex. I guess for the first one, you could look at doing something with JavaScript on that page (this would not be supported however!), or write your code so that this setting is always overwritten regardless of what the user selected in the control. &lt;BR/&gt;&lt;BR/&gt;With regards to the second, you might have some luck if you use Reflector to find out where SharePoint gets that URL to redirect to. &lt;BR/&gt;&lt;BR/&gt;Best of luck,&lt;BR/&gt;&lt;BR/&gt;Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/3848614425502625728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/3848614425502625728'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1225627020000#c3848614425502625728' title=''/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092051249'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-4887745982642475950</id><published>2008-10-30T00:18:00.000Z</published><updated>2008-10-30T00:18:00.000Z</updated><title type='text'>Hello Chris&lt;br&gt;     First of all thanks for the ar...</title><content type='html'>Hello Chris&lt;BR/&gt;     First of all thanks for the article. This has helped us a lot in moving in the right direction to create a seamless site creation process. We followed the steps you have provided so that the custom definition (when selected from the create site screen) assigns the users a custom full control permission level for owners, custom contribute permission level for members and custom read permission level for visitors. Since we are breaking inheritance on the code, we would like to find out &lt;BR/&gt;a. if it is possible to only allow users to select use unique permissions on the newsbweb.aspx.&lt;BR/&gt;b. If it is possible to completely override the next page shown to the users so we directly get to the new site page as it does not serve much use since the groups have already been created as part of the site definition.&lt;BR/&gt;&lt;BR/&gt;Again i appreciate the steps you detailed.&lt;BR/&gt;&lt;BR/&gt;Thanks&lt;BR/&gt;- Arvind.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/4887745982642475950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/4887745982642475950'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1225325880000#c4887745982642475950' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1496675979'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-6376116697497867044</id><published>2008-07-31T21:43:00.000+01:00</published><updated>2008-07-31T21:43:00.000+01:00</updated><title type='text'>Hi Mark,&lt;br&gt;&lt;br&gt;Well it definitely seems that the ...</title><content type='html'>Hi Mark,&lt;BR/&gt;&lt;BR/&gt;Well it definitely seems that the code isn't finding the list to apply the permissions to.&lt;BR/&gt;&lt;BR/&gt;Are you retrieving it from a Feature property as in my example? If so, did you update the value in the XML to match your list name? Otherwise, suggest stepping through with the debugger to see if there's some other kind of typo.&lt;BR/&gt;&lt;BR/&gt;HTH,&lt;BR/&gt;&lt;BR/&gt;Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/6376116697497867044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/6376116697497867044'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1217536980000#c6376116697497867044' title=''/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092051249'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-5599613063460567538</id><published>2008-07-25T16:47:00.000+01:00</published><updated>2008-07-25T16:47:00.000+01:00</updated><title type='text'>Hi Chris, I hope you don't mind but i found your b...</title><content type='html'>Hi Chris, I hope you don't mind but i found your blog and I thought "YES!!!" so I am implementing the Feature as described, but I get the following errors in the MOSS log (my permission list is in the parent web). I used the permLevels Owner, Visitor and Member as detailed in the code example. I am puzzled about what could be happening - it looks like the list name is not found (?)- Log Entries: "07/25/2008 16:22:09.45  w3wp.exe (0x1460)                        0x1BE8 Windows SharePoint Services    Feature Infrastructure         88jm High     Feature receiver assembly 'ClientInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=add2ef901e07e5b1', class 'ClientInfo.SiteProvisioning', method 'FeatureActivated' for feature '7c020fff-ff42-4fe2-8a9b-9bca0d5f8001' threw an exception: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.get_Item(String strListName)     at ClientInfo.SiteProvisioning.FeatureActivated(SPFeatureReceiverProperties properties)     at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)&lt;BR/&gt;&lt;BR/&gt;07/25/2008 16:22:09.45  w3wp.exe (0x1460)                        0x1BE8 Windows SharePoint Services    General                        72by High     Feature Activation: Threw an exception, attempting to roll back.  Feature 'SiteProvisioning' (ID: '7c020fff-ff42-4fe2-8a9b-9bca0d5f8001').  Exception: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.get_Item(String strListName)     at ClientInfo.SiteProvisioning.FeatureActivated(SPFeatureReceiverProperties properties)     at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce) "</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/5599613063460567538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/5599613063460567538'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1217000820000#c5599613063460567538' title=''/><author><name>Mark</name><uri>http://www.blogger.com/profile/01400207634604002190</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1929736068'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-7300850399447429516</id><published>2008-02-26T10:38:00.000Z</published><updated>2008-02-26T10:38:00.000Z</updated><title type='text'>Elton,&lt;br&gt;&lt;br&gt;I'm having similar fun with WSS3.0. ...</title><content type='html'>Elton,&lt;BR/&gt;&lt;BR/&gt;I'm having similar fun with WSS3.0. I've been testing using a Feature and a class inheriting from SPWebProvisioningProvider to create site collections  from scratch.&lt;BR/&gt;&lt;BR/&gt;Both the SPWebProvisioningProvider Provision method and the Feature Activation method occur before Sharepoint has created any groups for the new site collection.&lt;BR/&gt;&lt;BR/&gt;You can add your own custom groups to the collection and set them as the Associated Groups but Sharepoint will continue to create it's own [siteName] Owners, Members and Visitors groups.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/7300850399447429516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/7300850399447429516'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1204022280000#c7300850399447429516' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-769226957'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-3163213376382725750</id><published>2008-02-22T07:37:00.000Z</published><updated>2008-02-22T07:37:00.000Z</updated><title type='text'>Hi Elton,&lt;br&gt;&lt;br&gt;Sorry for the delay in replying. ...</title><content type='html'>Hi Elton,&lt;BR/&gt;&lt;BR/&gt;Sorry for the delay in replying. This seems an unusual one - are you definitely using the provided properties to access the 'owner' and 'member' groups (as shown in my code)? If so, I'm not sure why these would not yet be available - there is no configuration other than what I discuss in the article.&lt;BR/&gt;&lt;BR/&gt;Do you get the same effect in different environments?&lt;BR/&gt;&lt;BR/&gt;Cheers,&lt;BR/&gt;&lt;BR/&gt;Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/3163213376382725750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/3163213376382725750'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1203665820000#c3163213376382725750' title=''/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092051249'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-8516085153812319215</id><published>2008-02-19T17:59:00.000Z</published><updated>2008-02-19T17:59:00.000Z</updated><title type='text'>This is an excellent article actually.  I was tryi...</title><content type='html'>This is an excellent article actually.  I was trying to do this in WSS 3.0 for a while and after getting to a half solution I ran into this blog.  Good stuff!&lt;BR/&gt;&lt;BR/&gt;I have a question.  I got everything running but I am getting an "Unknown error" right after I click "Create" from the UI to create a site.  For some reason when I run the code, the Groups "Member" and "Owner" do not exist yet and permissionGroup ends up being "null" (although "Visitors" is present).  This is causing an "Object reference not set to an instance of an object" exception which is causing the "Unknown Error" on the front end.  Am I missing some configuration?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/8516085153812319215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/8516085153812319215'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1203443940000#c8516085153812319215' title=''/><author><name>Elton</name><uri>http://www.blogger.com/profile/01322530339171689430</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-189589591'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-8246087015717662843</id><published>2008-02-17T21:55:00.000Z</published><updated>2008-02-17T21:55:00.000Z</updated><title type='text'>Hi,&lt;br&gt;&lt;br&gt;Not sure what you mean exactly - the co...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;Not sure what you mean exactly - the code above shows retrieving values from Feature properties, but if you want to do something else, give me some more details and I'll try to understand/help.&lt;BR/&gt;&lt;BR/&gt;Cheers,&lt;BR/&gt;&lt;BR/&gt;Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/8246087015717662843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/8246087015717662843'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1203285300000#c8246087015717662843' title=''/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092051249'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-6933324285262881776</id><published>2008-02-13T00:54:00.000Z</published><updated>2008-02-13T00:54:00.000Z</updated><title type='text'>Great Article. I've one question though in regards...</title><content type='html'>Great Article. I've one question though in regards to the property usage from the feature. Do you need to add any serializable code for accessing dynamic values?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/6933324285262881776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/6933324285262881776'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1202864040000#c6933324285262881776' title=''/><author><name>Microsoft Sharepoint: Building Office 2007 Solutions in C# 2005 By Scot P. Hillier</name><uri>http://www.blogger.com/profile/05249948081514484061</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-554575662'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-93492224616103145</id><published>2007-11-22T13:37:00.000Z</published><updated>2007-11-22T13:37:00.000Z</updated><title type='text'>Hi Theo,&lt;br&gt;&lt;br&gt;Yes, it would definitely be possib...</title><content type='html'>Hi Theo,&lt;BR/&gt;&lt;BR/&gt;Yes, it would definitely be possible to do what you want. I would suggest a good approach would be to use the technique in this article, but modify the code to apply your custom permissions.&lt;BR/&gt;&lt;BR/&gt;Without looking at it in too much detail, I think you would need to do something like the following:&lt;BR/&gt;&lt;BR/&gt;- find each list you wish to add custom permissions to&lt;BR/&gt;- then call SPList.BreakRoleInheritence()&lt;BR/&gt;- add custom groups using SPList.RoleAssignments.Add()&lt;BR/&gt;&lt;BR/&gt;Have a look along those lines.&lt;BR/&gt;&lt;BR/&gt;HTH,&lt;BR/&gt;&lt;BR/&gt;Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/93492224616103145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/93492224616103145'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1195738620000#c93492224616103145' title=''/><author><name>Chris O'Brien</name><uri>http://www.blogger.com/profile/10022906552670607366</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092051249'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-1691644222574396980</id><published>2007-11-20T03:32:00.000Z</published><updated>2007-11-20T03:32:00.000Z</updated><title type='text'>Chris&lt;br&gt;&lt;br&gt;From a google search I came across th...</title><content type='html'>Chris&lt;BR/&gt;&lt;BR/&gt;From a google search I came across this page and it seems close to what I need to do. &lt;BR/&gt;&lt;BR/&gt;Unfortunately I do not have enough time (and knowledge of MOSS or .Net) to try this out before having an answer... but I suspect it might be possible. &lt;BR/&gt;&lt;BR/&gt;I need to know if it is possible to add (as a feature or package) custom permissions, already mapped to predefined groups (I guess groups added to the 'new site') at site creation... does that make sense?&lt;BR/&gt;&lt;BR/&gt;In short, these groups and permissions must be ready for use when the site is deployed. The customer only need to add users to the groups.&lt;BR/&gt;&lt;BR/&gt;Please let me know whether one can do that or not.&lt;BR/&gt;&lt;BR/&gt;Cheers&lt;BR/&gt;Theo</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/1691644222574396980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/1691644222574396980'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1195529520000#c1691644222574396980' title=''/><author><name>Theo</name><uri>http://www.blogger.com/profile/09853334349600670486</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1931508582'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-4110572720982782920</id><published>2007-08-21T16:13:00.000+01:00</published><updated>2007-08-21T16:13:00.000+01:00</updated><title type='text'>A very good article!&lt;br&gt;&lt;br&gt;The example code is no...</title><content type='html'>A very good article!&lt;BR/&gt;&lt;BR/&gt;The example code is not linked from http://sharepointchris.googlepages.com/sitedefinitionwithcustompermissions but can be downloaded directly from http://sharepointchris.googlepages.com/COB.Demos.SiteDefinitionWithCustomPe.zip</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/4110572720982782920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/4110572720982782920'/><link rel='alternate' type='text/html' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html?showComment=1187709180000#c4110572720982782920' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1579506758'/></entry><entry><id>tag:blogger.com,1999:blog-4126985520350746834.post-890896298399156768</id><published>2007-08-21T11:30:00.000+01:00</published><updated>2007-08-21T11:30:00.000+01:00</updated><title type='text'></title><content type='html'>This comment has been removed by a blog administrator.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/890896298399156768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4126985520350746834/5813672762805847463/comments/default/890896298399156768'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sharepointnutsandbolts.com/2007/08/automatically-setting-custom.html' ref='tag:blogger.com,1999:blog-4126985520350746834.post-5813672762805847463' source='http://www.blogger.com/feeds/4126985520350746834/posts/default/5813672762805847463' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1223187465'/></entry></feed>
