Hi Team,
I am using below template code to calculate matchpattern for ADSgroup
when I create new adsgroup of type Security and Distribution no value is getting populated on MatchPatternForMembership
Dim MatchPattern As Integer = 0
If $IsDistributionGroup$ = "True" Then
MatchPattern = 18
ElseIf $IsSecurity$ = "True" Then
MatchPattern = 2
End If
Value = MatchPattern
I tried the other way around as well but nothing working.
Please help
Dim MatchPattern As Integer = 0
If $IsDistributionGroup:Bool$ Then
MatchPattern = 18
ElseIf $IsSecurity:Bool$ Then
MatchPattern = 2
End If
Value = MatchPattern