See the UDF Forum under ArrayEnumGroup() - Creates an array of groups of which the current user is a member
The following is an .INI file structure I am using for drive mappingscode:
; Mandatory drive shares for users
;
; Format:
;
;[UNC]
;Drive = drive letter to which the UNC name will be mapped
;Label = optional label for Windows 2000/XP/2003
;GroupInclude = User groups to be included in the drive share
;CompExclude = Computers to be excluded from the drive share
;UserInclude = Users to be included in the drive share
;NetworkType = Type of network connection allowed for this share (LOCAL, LAN, VPN, DIALUP)
;Persistent = True if mapping is persistent
;DenyGuestAccess = True if guests are not allowed to access this share
It uses the MapDrive() and IsIncluded() UDFs and an identifyer for the network connection type based on specific network segments as identified by NetworkID and Subnet Mask.
[ 30. July 2003, 14:49: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.