How to get Group FilterBuilder for Get only OKTA_groups

Hi,
Please help any one am using OKTA.core.client SDK, i wanted to get only OKTA_groups type Groups
below code am using
string filter=null;
groups = oktaClient.GetGroupsClient().GetList(nextPage, pageSize, filter);
how to pass filter values as OKTA_groups
API Ref:

https://${yourOktaDomain}/api/v1/groups?filter=type+eq+“OKTA_GROUP”&limit=200”

2 nd Questions:
How to pass multiple grouptypes OKTA_GROUP and BUILTIN_group

Thanks in advance.

Are you using our older .NET Management SDK? You can look into how the Users client implements this, but we no longer support version 0.3.3 of this SDK and recommend that you migrate to version 3.x.

You can see how to structure a similar request in the latest version of the SDK in its API Reference using the ListGroups method.

as for getting both OKTA_GROUPs and BUILT-IN groups, I found the following API request will work:

GET {{url}}/api/v1/groups?filter=type eq "BUILT_IN" OR type eq "OKTA_GROUP"

Andrea, Thanks for update . Please share how to pass group type filter 0.3.3 SDK at the moment we are possible to move new SDK,

Please suggest how to pass filter through old SDK

is it support .net framework 4.6 for NEW SDK, seen in document prerequist is support from .net core is it right?

Are you using .NET 4.6.1? Per the SDK documentation, yes, the newer version of the SDK is compatible with:

  • .NET Standard 2.0 and 2.1
  • .NET Framework 4.6.1 or higher
  • .NET Core 3.0 or higher