473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Docs? Some Classes Require Administrator Role...

Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.

Does anybody know of documentation listing role-dependent classes?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
Nov 18 '05 #1
4 1224
Don't know if there is any specific documentation about this, but it
shouldn't be hard to figure out. For example, to manage processes, one must
be an administrator, naturally. To read or write from Active Directory
requires a role having the administrative permissions necessary to do so. To
open a file on a machine elsewhere on the network, the app must be or
impersonate a user account with the necessary permissions on that machine.
To read from or write to the System Registry, the app must be or impersonate
an account with that permission. Etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message
news:eE**************@TK2MSFTNGP10.phx.gbl...
Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.

Does anybody know of documentation listing role-dependent classes?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

Nov 18 '05 #2
It's not that classes require a role, per se.

For example, I can start XCOPY using the Process class from an ASPX
page under the ASPNET account, and I can copy a file from one temp
directory to another with xcopy when the directory permissions are
wide open. If I try to copy a file into the \Documents and
Settings\Administrator, then there is a permissions issue. Likewise if
I try to run IISRESET, I'll get an access denied message, but in
neither failure will I get an exception - just an error message in the
output of the process because of what it tried to do.

--
Scott
http://www.OdeToCode.com

On Mon, 12 Jul 2004 10:27:37 -0500, "clintonG"
<csgallagher@RE************@metromilwaukee.com> wrote:
Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.

Does anybody know of documentation listing role-dependent classes?


Nov 18 '05 #3
The documentation -- MSDN Library -- clearly states classes that
are also supported by the Compact Framework. The same should
be true when roles impose dependencies on usage.

I was hoping to learn somebody had taken it upon themselves to
document this fact as it is not documented within the official
documentation.

I'll be submitting this suggestion to MSDN...

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:#$**************@TK2MSFTNGP12.phx.gbl...
Don't know if there is any specific documentation about this, but it
shouldn't be hard to figure out. For example, to manage processes, one must
be an administrator, naturally. To read or write from Active Directory
requires a role having the administrative permissions necessary to do so. To
open a file on a machine elsewhere on the network, the app must be or
impersonate a user account with the necessary permissions on that machine.
To read from or write to the System Registry, the app must be or impersonate
an account with that permission. Etc.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message
news:eE**************@TK2MSFTNGP10.phx.gbl...
Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.

Does anybody know of documentation listing role-dependent classes?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


Nov 18 '05 #4
See me response above...
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:im********************************@4ax.com...
It's not that classes require a role, per se.

For example, I can start XCOPY using the Process class from an ASPX
page under the ASPNET account, and I can copy a file from one temp
directory to another with xcopy when the directory permissions are
wide open. If I try to copy a file into the \Documents and
Settings\Administrator, then there is a permissions issue. Likewise if
I try to run IISRESET, I'll get an access denied message, but in
neither failure will I get an exception - just an error message in the
output of the process because of what it tried to do.

--
Scott
http://www.OdeToCode.com

On Mon, 12 Jul 2004 10:27:37 -0500, "clintonG"
<csgallagher@RE************@metromilwaukee.com> wrote:
Using the process class requires the administrator role. Thus, if I may
presume, there are other classes that require role-based dependencies.

Does anybody know of documentation listing role-dependent classes?

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Phil Powell | last post by:
Where can I find an online PHP form validator script library to use? I have tried hacking the one here at work for weeks now and it's getting more and more impossible to customize, especially now...
0
by: Ewart MacLucas | last post by:
generated some WMI managed classes using the downloadable extensions for vs2003 from mircrosoft downloads; wrote some test code to enumerate the physicall processors and it works a treat, but a...
0
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application...
2
by: clintonG | last post by:
Website Administrator is adding two users into the aspnet_Users table each time it is used to add a new user. It is also time stamping 6 hours later that the actual system time when the user is...
90
by: Christoph Zwerschke | last post by:
Ok, the answer is easy: For historical reasons - built-in sets exist only since Python 2.4. Anyway, I was thinking about whether it would be possible and desirable to change the old behavior in...
13
by: Simon Dean | last post by:
Hi, I have a couple of questions. If you don't mind. Sorry, I do get a bit wordy at times. First one just throws some thoughts around hoping for answers :-) 1) Anyone got a theory on the...
5
by: Alan Isaac | last post by:
This is an attempt to synthesize Bill and Carsten's proposals. (I'm changing the subject line to better match the topic.) http://docs.python.org/lib/typesmapping.html: for footnote (3) Keys...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
2
by: cmonthenet | last post by:
Hello, I searched for an answer to my question and found similar posts, but none that quite addressed the issue I am trying to resolve. Essentially, it seems like I need something like a virtual...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.