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  |  

$4.95 Windows Hosting at Webhost4life.com
  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

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


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
1622 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.

 


Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com
Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com

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