Do you have a need to see which mailboxes John has access to without opening every single box and looking? No problem!

I wrote Exchange Permission as a result of a post on Experts Exchange. It is very simple to use.

THE BASICS

The first parameter is the user in question and of course is required. It needs to be in the format of Domain\Username. Although there are other ways to present a username, some of the fields the program checks while running store their information in that format. So its easier to take it in that way and not add more code to the program to check it and reformat if required.

The second parameter (optional) is the distinguished name of the container object. If this parameter is omitted, the rootDSE is used. Needless to say on a very large environment that could take hours to complete. In that case it is better to be as specific as possible with the root container.

For instance, if Bob is in the sales OU and you are trying to see who else in sales Bob has access to, it is wise to select only the sales ou. If you have less than 7,000 users or so, it probably won’t matter. Just remember that the properties that we are looking at are not indexed in Active Directory. That means every single access rule has to be looked at to see if it matches Bob.

GOTCHAS

One gotcha that exists currently in the program is inherited and MAPI permissions are not taken into account. MAPI permissions require that CDO or some other MAPI extension be utilized to get at the data. It would also then force the program to need admin rights to Exchange to get at the data. I am not completely sure why inherited permissions don’t work for an individual yet. Once I master that, I can then ensure that permissions inherited by a group would work. I am sure you just realized that groups are another gotcha.

If you need to keep the resulting information, simply pipe it to a file.

USING

Some of the techniques I used required .NET 3.5, so ensure you have that installed. The zip contains two files that must be located together. There isn’t an installation and since this is an admin tool, never will be.

Enjoy!

Exchange Permissions

November 20, 2009, 10:11 am o'clock

I haven’t blogged in some time. I have been so busy and that is a good thing. But, finally scaling back the throttle for awhile.

As such, hopefully more time for blogging and definitely now I have sometime for school again. A six month break was good but now I’m feeling rusty on that side.

The work I just finished up was one of the largest projects I’ve ever worked on and I enjoyed how it has helped me to refine those skills. Nothing can beat experience in the current market conditions.

Also, my persistence and expert abilities allowed me to get a promotion with our client. Imagine my surprise when my company wants to be bone heads about that. That caused me to see that the tunnel is short in corporate America and shortly I will hit the call button to go else where. Being snotty about my salary and position when I earned it for the company and myself is just plain outright ludicrous!

October 20, 2009, 8:55 am o'clock

I’ve wrote previously about my Vista woes along with perhaps 99% of the rest of the planet’s population. Four weeks ago, I pieced together (literally) some older and newer components to build a new machine. Although on paper, its not all that much, but it blows away the old machine. Continuing the Vista plunge, I decided to put Vista 64 on it. Primarily because I had it and would have had to purchase XP 64.

I also had the option of putting Server 2008 64 on it, but decided not to go there yet. I’m sure you’ve seen the Server 2008 Workstation. One day I will go this route as it is something that intrigues me.

Back to Vista 64. This thing screams! Seeing it easily access more than 4 gigs of RAM while crunching a big fat 3DS Max scene was awesome. What’s really telling is that I can throw a lot of apps at this thing and still have a hard time getting over 4 gigs of memory usage.

As I am running a GeForce 9600GSO card now, I am enjoying the full Aero interface without any hiccups. I’m also getting around 55fps in most of my games playing at 1600*1200.

April 5, 2009, 8:06 am o'clock

It surprises me sometimes that so many Windows programmers are not using the .Net InterOp classes with MS Office. InterOp allows you to do so many things far easier and with builtin Intellisense to boot. Using techniques like ADO.NET to examine Excel spreadsheets for example is so outdated. They were the only way to get at the data back before VS 2005, but now, lets move forward. Use the InterOP!

Check out my elegant, it is my opionion, accepted answer to an Excel problem. Experts Exchange InterOp is king!

An even more powerful example of InterOp, is my answer to the following problem Experts Exchange.

I think it is awesome that InterOp gives you finer control over controlling an Office app programatically.

March 24, 2009, 3:06 pm o'clock

I’ve been playing around with this thing for a day now. I must say that its very snappy compared to the Vista that usually resides on the box.

My opinion is still not formed on it, but, it looks very promising. Hopefully over the weekend, I can really put it to some tests. Plus, I’ll be on vacation next week, so my laptop spare drive is going to get it too. Although, it is supposed to be a low tech period off!

January 9, 2009, 6:41 am o'clock

I finally took the plunge and did an in place upgrade of XP to Vista Ultimate over the weekend. All in all I must say the upgrade went without a hitch, other than it took hours to do it!

So much has been written about Vista performance, I won’t rehash it here. I’ve tried all the great tricks such as disabling Aero, turning off some of the animations, changing memory settings, etc. The Windowed performance is doing pretty good, got some network tweaking to do and that is my biggest grip.

I’ve tried some network tweaking, but so far it hasn’t fixed my biggest problem. I like to play two particular FPS a few hours a week. Tried playing them after the upgrade and they were almost unplayeable. I started tweaking the graphics thinking that was the culprit, and it mostly was. However, doing some tests, I see that the network performance of the new improved Vista TCP stack sucks. Pure and simple. The machine is 15% slower on the network than it was under XP, albeit, the XP tests is months old. I would almost discredit it, except playing the FPSs before upgrade, I was one of the fastest players around. Currently, I can barely move, and my avatar freezes a lot. If you play games, you know that a target that isn’t moving is easy to hit.

Will keep you up to date.

November 24, 2008, 11:49 am o'clock

AT&T is at it again. This time, my home screen got loaded up with a bunch of icons going to their steal your money sites! Who buys that stuff. Definitely not I. I have no need for ringtones, graphics, games, and other downloads from AT&T. Some of those you can get for free from RIM anyway. They obviously make money off this or else they wouldn’t be pushing it. I deleted the crap and they showed up again the next day. This time, I just hid them all. Can’t see them and they won’t pop back up again.

November 11, 2008, 10:51 am o'clock

Apress publishes some of the best programming books around IMHO. I’ve got a few of them sitting above me on the shelf. I’ve just discovered that they have a eBook Deal of The Day everyday. For a period of 24 hours, starting at 12:01AM PST, they have a particular eBook available for just $10. Considering that some of these retail for $60, that’s not too shabby.

http://www.apress.com/info/dailydeal

November 11, 2008, 10:44 am o'clock

One thing that I have noticed over the last year of being on AT&T BIS network is the occasional Spam about ringtones and other things that you have to pay for. It strikes me as odd since they all are from AT&T. Never mind that with BlackBerry Desktop Manager 4.3 installed, you can create a ringtone from any song your computer can touch!

The last few days however have been ridiculous however.  I have gotten no less than 12 spam messages and it has moved from minor annoyance, to interfering with thereby causing me to get frustrated.  Please knock it off AT&T.  I will never buy anything from spam whether email spam, chat spam, SMS spam, or BlackBerry spam!

October 14, 2008, 4:21 pm o'clock

I overheard a conversation at the bookstore about the Microsoft Certified Master Program and just had to take a look. After all, I am very deep into the tech of Microsoft and figured who better to go for it.

After more research however, I’m glad I hesitated before plunking down my $125 application fee. Seems that not only is the program three weeks and lots of studying (which I would expect to pass such a course), its also $18,500. Yes, the cost of a complete year of college for a three week course.

 As you can assume, I won’t be a master anytime soon. I think that is overboard in price when the competition for a lot of Microsoft’s core product lines is fierce. I can get replacements, not just good ones, but great ones for every product Microsoft has. Which is leading to erosion of their market share everywhere, people are simply into free.

How many folks you know don’t even pay for WinZip? I know a lot! They think I am stupid for paying, they don’t understand that money is one of the things that keeps programmers coding things when they are no longer fun. I like WinZip so I pay.

The only thing thats holding it’s own and increasing its lead I feel is SharePoint. Put into the hands of a competent designer, SharePoint can do almost everything a business needs.

Anyway, I tip my hat to those going for the MCM and good luck to you. I do hope for you its well worth it.

September 3, 2008, 4:54 pm o'clock