Hi,
I create simple module and this line of code:
int
TotalRecords = 0;
ArrayList test = UserController.GetUsersByProfileProperty(
this
.PortalId,
"FirstName"
,
"SuperUser"
, 0, 10,
ref
TotalRecords);
TotalRecords = 1
and
test.Count = 0
Why test.Count == 0 ???
I research this with SQL Profiler, and see stored procedure
exec
dbo.DNN_GetUsersByProfileProperty
@PortalID=0,@PropertyName=N
'FirstName'
,
@PropertyValue=N
'SuperUser'
,
@PageIndex=0,@PageSize=10,
@IncludeDeleted=0,
@SuperUsersOnly=0
this stored procedure return 2 result sets
first is empty
and
second have TotalRecords = 1
I use DNN 6.2.2 Community
HELP, What is the problem?