VBScript to VB.NET

L

Larro91

I am working to convert a user creation script to VB.NET so I can add
more functionality in. Most answers I've been able to find on the NET
without too much trouble but one problem is stumping me. I need to add
a user to a newly created mailbox with full mailbox access.

I was able to do this in vbscript by using the
msExchMailboxSecurityDescriptor but from what I have read that's not
recommended in VB.NET. Any suggestions will be appreciated.

Larro
 
S

susiedba

dotnet won't convert VbScript, so I reccomend leaving it as vbScript.

DOTNET IS DEAD
AND NO ONE CARES

IF THERE WAS A HELL
I WOULD SEND VISUAL FRED THERE
 
S

susiedba

ignore robin, 'female programmer alert'

I mean; can she even code for 20 days out of the month?

ROFL
 
L

Larro91

ignore robin, 'female programmer alert'

I mean; can she even code for 20 days out of the month?

ROFL




- Show quoted text -

I am currently in a class learning VB.NET and ASP.NET. Working with
the script I wrote I have been able to get 90% of it up and running
it's just the permissions things that's killing me. I have researched
it but when you start playing with permissions the information kinda
tapers off as far as explainations.

Update I got around the permissions in Exchange. I had them add that
particular account directly to the store so we don't have to add it
to
the individual accounts. But I am faced with the task of setting
permissions on folders now. In my old script I called xcacls.exe and
set permissions on the new users home folder. In all honesty I can
still do it that way I was just really trying to get away from using
other tools in my program if I could help it but I'm not going to
dwell on it if the subject is to technical for me.


Thanks again for all the help.
 
R

RobinS

I am currently in a class learning VB.NET and ASP.NET. Working with
the script I wrote I have been able to get 90% of it up and running
it's just the permissions things that's killing me. I have researched
it but when you start playing with permissions the information kinda
tapers off as far as explainations.

Update I got around the permissions in Exchange. I had them add that
particular account directly to the store so we don't have to add it
to
the individual accounts. But I am faced with the task of setting
permissions on folders now. In my old script I called xcacls.exe and
set permissions on the new users home folder. In all honesty I can
still do it that way I was just really trying to get away from using
other tools in my program if I could help it but I'm not going to
dwell on it if the subject is to technical for me.


Thanks again for all the help.

Try posting your question to the ASP.Net newsgroup. I think it's
microsoft.public.dotnet.framework.aspnet.

Robin S.
 
P

PFC Sadr

well if you didn't want to use XCACLS then you could use WMI I believe
in vb6..


I don't know how to do this in .NET because I've never seen VB.net in
the real world and I don't invest times in impractical languages



-Aaron
 

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

Top