added active directory support to security groups
This commit is contained in:
@ -52,7 +52,8 @@ Return EventFlow or 1
|
||||
|
||||
Event WINDOW.CREATE(CreateParam)
|
||||
|
||||
SelGroups = CreateParam
|
||||
SelGroups = Field(CreateParam, @RM, 1, 1)
|
||||
GroupType = Field(CreateParam, @RM, 2, 1)
|
||||
Def = ""
|
||||
Def<MCOL$> = -2
|
||||
Def<MROW$> = -2
|
||||
@ -60,9 +61,10 @@ Event WINDOW.CREATE(CreateParam)
|
||||
Def<MTYPE$> = "U"
|
||||
MsgUp = Msg(@window, Def) ;* display the processing message
|
||||
|
||||
ADGroupData = Active_Directory_Services('GetADGroupsByString', 'MES-Mesa*', 'INFINEON')
|
||||
ADGroupData<-1> = Active_Directory_Services('GetADGroupsByString', 'IFX-IRF-Mesa*', 'INFINEON')
|
||||
ADGroupData<-1> = Active_Directory_Services('GetADGroupsByString', 'KLU-Mesa*', 'INFINEON')
|
||||
ADGroupData = Active_Directory_Services('GetADGroupsByString', 'MES-Mesa*', 'INFINEON', '', GroupType)
|
||||
ADGroupData<-1> = Active_Directory_Services('GetADGroupsByString', 'IFX-IRF-Mesa*', 'INFINEON', '', GroupType)
|
||||
ADGroupData<-1> = Active_Directory_Services('GetADGroupsByString', 'KLU-Mesa*', 'INFINEON', '', GroupType)
|
||||
ADGroupData<-1> = Active_Directory_Services('GetADGroupsByString', 'MES-APP*', 'INFINEON', '', GroupType)
|
||||
|
||||
ADGroupData = SRP_Array('Clean', ADGroupData, 'TrimAndMakeUnique', @FM)
|
||||
NumRows = DCount(ADGroupData, @FM)
|
||||
@ -149,3 +151,4 @@ Event EDT_AD_GROUPS.ROWSELCHANGED(SelRow, SelState)
|
||||
|
||||
end event
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user