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  |  

telerik -- supercharge your DNN websites
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

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
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  IsInRole and IsInRoles methods
Previous Previous
 
Next Next
New Post 4/11/2006 4:05 AM
User is offline Sérgio Almeida
16 posts
10th Ranked


IsInRole and IsInRoles methods 
Greetings

I have the CHM help file for the DNN 3 and I have some questions about the IsInRole methods. I can see that under PortalSecurity class there are two static methods for checking roles: IsInRole(string) and  IsInRoles(string). My question is, what are the differences between these methods? Since the CHM file does not have a description on what does what (for me is a lack on the help files :( )

And what does these methods internaly? They compare the roles of the current user with the ones passed to the method, right ;)?

BTW, is there any CHM for the API of DNN4?

Thanks in advance

Almeida
 
New Post 4/11/2006 7:26 AM
User is offline Jon Henning
1623 posts
www.codeendeavors.com
5th Ranked










Re: IsInRole and IsInRoles methods 
Modified By Jon Henning  on 4/11/2006 9:27:00 AM)
Please read and adhere to the posting guidelines of this forum.  A question like this does not belong in this forum.
 
New Post 4/11/2006 7:42 AM
User is offline Sérgio Almeida
16 posts
10th Ranked


Re: IsInRole and IsInRoles methods 
thank you, your are right. my apologies. i made confusion with the right place to put que thread  :)  

regards
 
New Post 4/20/2006 5:29 PM
User is offline Michael Freidgeim
89 posts
geekswithblogs.net/mnf/
10th Ranked


Re: IsInRole and IsInRoles methods 

IsInRoles parameter roles can have multiple roles,  separated by semicolon ";", e.g. "role1;Role2;role3".

Internally it calls IsInRole for each role in the list.


Michael Freidgeim http://geekswithblogs.net/mnf
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  IsInRole and IsInRoles methods
 


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.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

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