此方法會傳回此網路使用者的URN。
變數 | 類型 | 說明 |
---|---|---|
userId | 字串 | URN中要使用的userId。 |
network.getUrnForUser(userId);
輸出範例:
"urn:livefyre:network=`example.fyre.co`:user=tester"
network.getUrnForUser(userId);
輸出範例:
"urn:livefyre:network=`example.fyre.co`:user=tester"
$network->getUrnForUser(userId);
輸出範例:
"urn:livefyre:network=`example.fyre.co`:user=tester"
network.get_urn_for_user(userId)
輸出範例:
"urn:livefyre:network=`example.fyre.co`:user=tester"
network.get_urn_for_user(userId)
輸出範例:
"urn:livefyre:network=`example.fyre.co`:user=tester"