private void GetUsers() { Communities.GetUsers(FormUserList(), users => { _console.LogD("Users: " + users.ToDebugString()); }, OnError); }
private void DrawGetUsersByAuthIdentitiesSection() { DemoGuiUtils.Space(); GUILayout.BeginVertical("Box"); var providerUserIds = new List <string>(); providerUserIds.Add(_customUserId); DemoGuiUtils.DrawButton("Get Users By Auth Identities", () => { Communities.GetUsers(UserIdList.CreateWithProvider(CustomProviderId, providerUserIds), users => { _console.LogD("GetUsersByAuthIdentities result: " + users.ToDebugString()); }, error => { _console.LogE("Failed to get users by auth identities: " + error); }); }); GUILayout.EndVertical(); }
protected override void Load(PagingQuery <UsersQuery> query, Action <PagingResult <User> > success, Action <GetSocialError> error) { Communities.GetUsers(query, success, error); }