hi,
i have two questions about permissions , hope someone can
help:
1- generic principal vs impersonate
2- linkDemand vs Assert
1- if I impersonate an administrator on a computer, or i
created a generic principal with the role of
administrator, wouldn't that be the same ?
2-
Assert method: Declares that the calling code can access
the resource protected by a permission demand through the
code that calls this method, even if callers higher in
the stack have not been granted permission to access the
resource.
LinkDemand method:
The immediate caller is required to have been granted the
specified permission.
in the assert method, the immediate caller can or can't
access resources even if the immediate caller doesn't
have the permission ?
..
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!