I have a script that is running a subroutine and comparing the user account/s in active directory against a list in sharepoint. It works fine with the exception of a nested group within one of the global groups. My user id's are all numbers so I'm thinking I may need to specify with a ucase statement but am stuck on what the syntax would be.
Here is the sub routine, "fline=mid(fline,5,len(fli
ne)) " below is where I'm think I need to insert.
runline = "cmd.exe /c dsquery group dc=mcd,dc=pri -name "&groupname&" | dsget group -members > " & Chr(34) & strpath & Chr(34)
Do While Not oFile.AtEndOfStream
Fline = oFile.Readline
if mid(fline,2,3)="CN=" then
fline=mid(fline,5,len(fline)) 'Userid = UCASE(userid)
If Not ADUsers.Exists(Fline) Then
ADUsers.add Fline , 0