Load Users by My Us...
 
Notifications
Clear all

Load Users by My User Class

3 Posts
2 Users
1 Reactions
843 Views
(@mazen)
Posts: 13
Eminent Member
Topic starter
 

Hi

i want to load all users from my new user class  

my new class name AdminUser() 

Thanks

 
Posted : 04/06/2016 7:13 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Use the overload User.Load<T>()

User.Load<AdminUser>(string.Empty, string.Empty, null, false, 1, 10, (AdminUser[] users, int recordsCount, int pagesCount) => {
   Debug.Log("Users: " + users.Length);
});

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 05/06/2016 1:16 pm
Romenics reacted
(@mazen)
Posts: 13
Eminent Member
Topic starter
 

Working fine, Thanks :))

 
Posted : 05/06/2016 4:19 pm
Share: