Search found 17 matches

by Maries
Mon Feb 09, 2015 1:00 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

I apologize for the issues with asking this question. Thanks for the help and it might be frustrating to help new people learn this, but at least being less insulting might make people more comfortable posting to forums like this and this is why I never do. It's my 1st and last post.
by Maries
Mon Feb 09, 2015 12:26 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

I appreciate the help, you are correct that I don't know how to write the code. However I do understand what is being done in most of the script. I would not waste your time as I appreciate the help. I didn't give them the code, I gave the consultant the link to this thread and they went through the...
by Maries
Thu Feb 05, 2015 2:20 am
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

Thanks again. I got a reply back from MS and they stated that the code provided wouldn't work in this example.

They plan to get the manager first and then write another piece that reads rhe list if managers.

I tried for 3 hours more tonight and nothing works.
by Maries
Wed Feb 04, 2015 6:09 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

Hello, Thank you for the continued help. I spent about 3 hours on this today with a consultant that works for MS implementing SharePoint, among other things. We looked over the entire script and sql job. Then viewed the database tables. In the database now the managers dn is populating. When we trie...
by Maries
Tue Feb 03, 2015 3:31 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

This is definitely a much bigger task than I expected. I've found other posts and it appears you can't pull the info I want like this.
by Maries
Mon Feb 02, 2015 9:02 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

Thx, that was helpful, I did figure that out. What I'm literally stuck at is where the code goes? I can see what the command does that you provided, but in the script I posted, I must be putting the set mgr command in the wrong place, because the script errors out. Does that command go at the top wh...
by Maries
Mon Feb 02, 2015 2:34 pm
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

I should have been clearer. When I run that code you provided, it does gather the managers samaccountname, but I have no idea where I would add that code to the script I posted in order for the managers samaccountname to get added to the list of attributes that are populated to the database. The mes...
by Maries
Mon Feb 02, 2015 10:43 am
Forum: VBScript
Topic: Help with VB Script - Get the Managers sAmAccountName?
Replies: 39
Views: 19985

Re: Help with VB Script - Get the Managers sAmAccountName?

I added the code to the script, but the manager doesn't get added to the list of attributes populated in the database.

Can you tell me where in the script the code has to go and also I assume I need to add in a line that adds the name to the sql record set?