Ultimate Collection - { fslWeb & faisalmb.com } Ultimate Collection - { fslWeb & faisalmb.com }   
Home   |   Site   |   Posts (389)   |   Tags Xplorer   |   Feed SubscribeFree! Welcome buddy @ home...    Partner Site - Real Home Contact Search   

Sat

27

Feb

2010

Sat-21-01-2012
Likes 9    Dislikes
   

Eid Milad Un Nabi (صلی اللہ علیہ و سلم)

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

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

 

Fri

12

Feb

2010

Tue-14-02-2012
Likes 1    Dislikes
   

Sharepoint - SPWeb.Groups Vs SPWeb.SiteGroups

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;
}

 

 



Intro

Faisal Bashir
Consultant / Software Architect
KalSoft Limited Dubai
Microsoft Certified Technology Specialist.
[more]

Right Now

How could u reach the pearl by only looking at the sea? if u seek the pearl, be a diver: the diver needs several qualities, he must trust his rope and his life to the Friend's hand, he must stop breating and he must jump - Jalaluddin Rumi.

Random Visuals

Recent Comments

Comment RSS

Next Quote You know that...
on September 11, When World Trade center - Twin Tower was hit by aircraft...
there were around...... 2,863 people died
but Do you know that...
40 milllion of HIV infected in the world.
The world united against terrorism. It should also be united against AIDS.
Previous Quote

1766924 hits. (Best viewed @ 1024x768 resolution min.) Comments here...
© 2001-2013 Muhammad Faisal | Disclaimer | Contact | Partner Site