Forum Discussion
sameburn
OneStream Employee
3 days agoNot sure why my original comment disappeared...
But agree with MarcusH. Putting it all together would look something like this (please add logging during development to demystify)
Dim objList As List(Of Group) = BRApi.Security.Admin.GetGroups(si)
For Each grp As Group In objList
If grp.Name.StartsWith("QA_") Then
api.LogMessage("Log Group Names that start with QA_", grp.Name)
End If
Next
Also, please be careful working with different object types. Original code retrieved an object of type GroupInfo but was attempting to loop on MemberInfo (which was not declared).
Related Content
- 3 years ago