Welcome to Dot Net World

Sunday, March 30, 2008

To Get SpGroup

foreach(SPGroup group in SPContext.Current.Web.CurrentUser.Groups)
{
string groupName = group.Name;
Response.Write(groupName);
}
Posted by Sathish Kumar at 11:53 PM

1 comment:

K.D.Kadyan said...

Real Champ budy!!!

Save so many hours of mine and not need to write too many lines.

Thanks
Kuldeep Kadyan

May 5, 2009 at 4:56 AM

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Find Me

Find Me

Friend List

  • http://karthidotnet.blogspot.com
  • http://logesh-gk.blogspot.com
  • http://theactualyou.blogspot.com

Gtalk

Blog Archive

  • ►  2011 (4)
    • ►  April (3)
    • ►  February (1)
  • ►  2010 (10)
    • ►  July (4)
    • ►  June (2)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
  • ►  2009 (5)
    • ►  July (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
  • ▼  2008 (34)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (11)
    • ►  May (1)
    • ►  April (4)
    • ▼  March (12)
      • train
      • To get Login User Information
      • To Get SpGroup
      • How to Generate Public Key Token in VS 2005
      • Difference Between WSS and MOSS 2007
      • Understanding ASP.NET View State
      • sample programs in wf
      • sharepoint and workflow
      • web part overview
      • To Find Date Difference
      • To install ASP.NET
      • For Office outlook 2003 Add-in and Programmings Us...
    • ►  February (1)
Picture Window theme. Powered by Blogger.