Using code to set permissions

  • Thread starter Thread starter middletree
  • Start date Start date
M

middletree

I have a classic ASP app that's on the company Intranet. I'm in the early
planning stages of re-doing it in ASP.NET, using VB 2003.

One feature I would like to implement would have the code do the work of the
IT department, by adding or removing permissions to a particular folder on
another server on the network for a user who is chosen by one of a few
people in the company. Is this possible? Can someone point me in a
direction, or give me the name of the object so I can start to go down this
road?
 
OK, thanks.

Basic question: what does ".NET 2.0" mean, exactly? Is that the same as VB
2003, which I am using? Or is it going to be available with Studio 2005
which comes out next month?

Or is there no direct connection between Studio version and .NET version?
 
re:
Basic question: what does ".NET 2.0" mean, exactly?
Is that the same as VB 2003, which I am using?

No, it is not.

VB 2003 uses the .NET Framework 1.1 ( and ASP.NET 1.1 )
VB 2005 uses the .NET Framework 2.0 ( and ASP.NET 2.0 )

re:
Or is there no direct connection between Studio version and .NET version?

There is a connection.

The ASP.NET version and the VS.NET version differ only in the initial number.

For example, the latest beta version of the .NET Framework is 2.0.50727.42.
The latest beta version of VS.NET is 8.0.50727.42




Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 
Ok, so just to make sure I'm clear: in order to implement the instructions
in the article, I'd need to use VB.NET 2005, correct?
 
re:
in order to implement the instructions
in the article, I'd need to use VB.NET 2005, correct?

Yes.

msdn2.microsoft.com is the online source for .Net Framework
2.0 documentation, and VB.NET 2005 uses the .Net Framework 2.0.

Moreover, the DirectorySecurity Class is new in the
..NET Framework version 2.0, and does not exist in
the .Net Framework 1.1, nor in VB.NET 2003.




Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top