Ask a Question related to ASP.NET Security, Design and Development.
-
Sean #1
determining roles
Hi all,
I'm creating a web application that attempts to restrict access by
checking the IsInRole function for the desired roles. This works for
accounts that are local to the machine, but for some reason when I use
a domain account that is not local, there are no roles available.
When I inspect the principalPermissions object, it will say that the
roles are loaded but the roles itself are null. How to I check for
roles on a domain account?
thanks,
Sean
Sean Guest
-
Determining a Date
Any thoughts on an easy way to determine another date in time based on today's date? I want to query a web service using yesterday's date and I'm... -
Determining OS in director
Does anyone know how to determine whether os is Mac OSX + or below or windows? -
determining if a variable is set?
I've created a class for a movieclip. In the constructor I set the default for the class properties. However, I sometimes want to set them in the... -
Determining the referring URL
I have a page with frames. The left frame is a list of urls. The main frame is loaded based on the url that was clicked in the left frame. Is... -
Determining Coverage
A co-worker was finally able to dig it up in some notes from a class. The equation is 255 - (histogram mean value) / 255 = % coverage. Hopefully... -
Sean #2
Re: determining roles
Found out what the problem was, few things, make sure your roles are
formatted like "DomainName\\Role" (role is the same as group), make
sure your spelling is correct, and finally, the reason the roles don't
show up in the memory tree is that for network roles, I don't believe
they are cached in memory but rather retrieved dynamically for each
call to IsInRole.
Sean
Sean Guest



Reply With Quote

