getUrnForUser Network Method

This method returns the URN for this network’s user.

Variable Type Description
userId String The userId to use in the URN.

Java Example

network.getUrnForUser(userId);

Sample output:

"urn:livefyre:network=`example.fyre.co`:user=tester"

NodeJS Example

network.getUrnForUser(userId);

Sample output:

"urn:livefyre:network=`example.fyre.co`:user=tester"

PHP Example

$network->getUrnForUser(userId);

Sample output:

"urn:livefyre:network=`example.fyre.co`:user=tester"

Python Example

network.get_urn_for_user(userId)

Sample output:

"urn:livefyre:network=`example.fyre.co`:user=tester"

Ruby Example

network.get_urn_for_user(userId)

Sample output:

"urn:livefyre:network=`example.fyre.co`:user=tester"

On this page