LoginSignup
2
2

More than 5 years have passed since last update.

[Parse.com] 簡単にRoleにUserを追加する

Last updated at Posted at 2015-05-16

_Role___Parse.png

2015/05/16時点、Parse.comのDataBrowser(管理画面)ではRoleにユーザを追加できないようです。

Parse.comのREST APIドキュメントを利用することで簡単に追加する方法を紹介します。

Parse.comのドキュメントページ
REST_API_Developers_Guide___Parse.png

  1. 下記URL(Parseのドキュメント)にアクセスする。
    https://parse.com/docs/rest/guide/#roles-updating-roles
  2. 対象のアプリケーションを選び、表示されたコマンドをテキストエディタなどにコピペする。
  3. Roleに追加したいユーザのobjectIdを入力。
  4. 対象RoleのobjectIdを入力。
  5. ターミナルにコピペ(curlコマンドが実行される)。

ユーザでなくロールを追加する(ロールにロールを追加する)場合は、className_Role にするとできると思います。

※Windowsでcurlコマンドがインストールされていない場合は↓から。
http://curl.haxx.se/download.html

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2