Message boards : Web interfaces : User Id...
Message board moderation
Author | Message |
---|---|
Send message Joined: 3 Dec 13 Posts: 5 |
Sorry; this wasn't very clear to me from reading the WebRPC calls From the client side, how do I determine with RPC calls (and settings in client initialization files?) what my user id on a designated project is? [starting with either the user name or Email address...] |
Send message Joined: 20 Nov 13 Posts: 18 |
Hey, I'm new here so someone more experienced might be able to jump in as well, but I had to figure this out for our project (http://www.theskynet.org). You can make a call to /project/lookup_account.php with the get params email_addr and passwd_hash where passwd_hash is a MD5 hash of your_password + your_email. Note your email must be lower case. This will return an authenticator that you can then use with /project/am_get_info.php with the get params account_key set to the authenticator returned by the first call. This will then return all your account details including your user id. more details at http://boinc.berkeley.edu/trac/wiki/WebRpc Cheers Alex webmaster theSkyNet |
Send message Joined: 3 Dec 13 Posts: 5 |
Thanks; and it appears a client-side program can get the password hash from acct_mgr_login.xml It appears that there would be a unique acct_mgr_login.xml file for each project... |
Send message Joined: 4 Jul 12 Posts: 321 |
Have in mind that an Account manager userid is something different than a BOINC project userid! I assume you write a tool that communicates to different projects via WebRPCs. Each project has it's own user DB so a single user attached to several projects will have a unique userid with each project. For third party tools this is usually provided by the user. You can also use the lookup account RPCs and get the userid if you provide the email. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.