Sat 27 Feb 2010

Jashn-e-Eid Milad Un Nabi Mubarak

 (صلی اللہ علیہ وسلم)

Happy Birthday of Prophet Muhammad sallalLaho alaihi wassallam

12 - Rabi ul Awwal 

-------------------------------

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+1.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+4.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+5.jpg

 

 

 Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+2.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+3.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+6.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+7.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+8.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+9.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+10.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+11.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+12.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+13.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+14.jpg

 

Eid+Milad+un+Nabi+Muhammad+BirthDay+Celebration+15.jpg

-------------------------------

Date Updates 

24 Jan 2013 - Saudia / UAE  --- 25 Jan 2013 - Pakistan 

25 Feb 2010 - Saudia / UAE  --- 26 Feb 2010 - Pakistan

-------------------------------

 
Categories : Reality of Islam
E-mail this post to someone or Comments (3)
Fri 12 Feb 2010

SPWeb has two sharepoint cross-site group collection, SPWeb.Groups and SPWeb.SiteGroups.

SPWeb.Groups returns collection of cross-site groups which has some permission on the site. So if you add group from a site without any permission on the site, then this group wont appear in SPWeb.Groups collection, but it will appear in SPWeb.SiteGroups collection.

You can not use SPWeb.Groups.Add method to add new cross-site group, you need to use SPWeb.SiteGroup.Add method for this purpose.

In addition to this SPWeb has a property AssociatedOwnerGroup, which will return the required SPGroup. You can iterate the SPGroup users to get the list of all owners of the site.

 foreach (SPUser user in web.AssociatedOwnerGroup.Users)
 {
      // .. list all the users                        
 }

 

Finding and adding group

SPGroup  group = GetSiteGroup(web, "groupName");
if (null == group)
{
 web.SiteGroups.Add("groupName", web.AssociatedOwnerGroup, null, "Test Group description");
}

 


private static SPGroup GetSiteGroup(SPWeb web, string name)
{
    foreach (SPGroup group in web.SiteGroups)
    {
 if (group.Name.ToLower() == name.ToLower())
 {
     return group;
 }
    }
 return null;
}

 

 

Tags: , ,
E-mail this post to someone or Comments here