Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Logged User
Previous Previous
 
Next Next
New Post 4/21/2006 9:43 AM
User is offline Bilal Haidar
136 posts
9th Ranked




Logged User 

Hi:

When using UserInfo.IsSuperUser that will give you if the user is the host or not.

Is there a way to know of the logged in user is an admin? I know I cna create a small method that checks the user Id against the db to see if he is part of the Admins, but is there a property to use?

Thanks,

 
New Post 4/21/2006 9:46 AM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Logged User 

yes, something like the following is the usual way to check if a user is either an administrator

If PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) = True Or PortalSecurity.IsInRoles(PortalSettings.ActiveTab.AdministratorRoles.ToString) = True Then...

Cathal

 
New Post 4/21/2006 9:52 AM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Logged User 

Thanks a lot.

To whom I can talk on this forums to have my MVP Logo displayed beside my name?

 

Thanks,

 
New Post 4/21/2006 10:03 AM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Logged User 

Avatars are assigned directly to the user,they are not role based. At present we don't have an easy mechanism to manage them (ie a custom table for mapping roles to avatars). This is planned for the future, at that point this will be looked at again.

Cathal

 
New Post 4/21/2006 10:35 AM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Logged User 

Thank your for the explanation.

Is there any one I can talk to have that logo?

Thanks,

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Logged User
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP