Ektron CMS400.NET API Documentation
|
Dim isMemberShip As UserSearchCondition = New UserSearchCondition isMemberShip.setType = SearchType.EQUAL isMemberShip.setValue = 1 'The value can be integer,string,date and boolean should be match with db type isMemberShip.setVariable = users.membership_user Dim isInEktron As UserSearchCondition = New UserSearchCondition isInEktron.setType = SearchType.EQUAL isInEktron.setValue = "03031" 'The value can be integer,string,date and boolean should be match with dynamic_data_tbl labels type isInEktron.setVariable = "customproperties.zip code" Dim condition As UserSearchCondition = New UserSearchCondition condition.setType = SearchType.AND condition.AddCondition(isInEktron) condition.AddCondition(isMemberShip) Dim search As New SearchManager Dim result As userdata() = search.Execute(condition)