Lees hier de laatste IGA-ontwikkelingen

VBScript to automatically insert strings into word document, print and close it

Make sure you have the file "document.doc" and it contains the bookmarks as you can see (Text1-7). The VBScript will open the document, insert all strings into the bookmarks, print and close it without saving so you can re-use it.

Lees meer

LDAP search filter to check if user is member of a group

The member attribute (or memberOf) is a multi-valued DN list. Fortunately, in LDAP the = operator automatically does a "contains" instead of "equals" when dealing with multi-values. So to check if an object is member of a certain group no matter if he/she is member of lots of groups, you can use:

Lees meer

VBScript to read exchange permissions (msexchmailboxsecuritydescriptor)

Since the permissions involving sending and reading mail are stored in different places, you need to read both the AD object permissions as well as the Exchange security descriptor.

Lees meer