Libraryless. Click here for Pure Java version (3835L/25K).
sS tb_addCoOwnerToSnippet(S snippetID, S coOwnerName) { long userID = tb_userIDForName(coOwnerName); if (userID == 0) fail("TinyBrain user not found: " + coOwnerName); ret tb_addCoOwnerToSnippet(snippetID, userID); } sS tb_addCoOwnerToSnippet(S snippetID, long coOwnerID) { ret loadPage(tb_mainServer() + "/tb-int/add-coowner.php?snippet=" + psI(snippetID) + "&coowner=" + coOwnerID + standardCredentials()); }
Began life as a copy of #1029577
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029578 |
| Snippet name: | tb_addCoOwnerToSnippet |
| Eternal ID of this version: | #1029578/4 |
| Text MD5: | 6f2143acb576c86645fba6c6d942217f |
| Transpilation MD5: | 936d8b95a5b76ff84c17479459b5103d |
| Author: | stefan |
| Category: | javax / auth |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-24 15:26:37 |
| Source code size: | 427 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 411 / 548 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029585 - addTagToSnippet |