<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mauricio.araujo</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mauricio.araujo"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Mauricio.araujo"/>
		<updated>2026-07-28T13:48:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Send_WaitCall_attrCurrent_user_id&amp;diff=4686</id>
		<title>Send WaitCall attrCurrent user id</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Send_WaitCall_attrCurrent_user_id&amp;diff=4686"/>
				<updated>2012-06-19T23:50:47Z</updated>
		
		<summary type="html">&lt;p&gt;Mauricio.araujo: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spell Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
== Overview ==&lt;br /&gt;
This method gets uuid of currently logged in user.&lt;br /&gt;
&lt;br /&gt;
This action can be called in [[Spel_Reference_Guide|spell code]] in method [[send_wait]] for [[Send_WaitCall_Attr|call_attr]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
void send_wait (int timeout, object top_object, &amp;quot;call_attr&amp;quot;, string factory_name, &amp;quot;current_user_id&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* timeout - how long (?in seconds?) should the method wait for finishing the method (0 means infinite)&lt;br /&gt;
* top_object - root object for the method (on which the method is called)&lt;br /&gt;
* attr_name - name of attribute on which the action is called&lt;br /&gt;
* factory_name - name of factory on which the action is called (could be &amp;quot;cr&amp;quot; for requsts and incidents, &amp;quot;chg&amp;quot; for changes, &amp;quot;iss&amp;quot; for issues)&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
On success user's user id is stored in the first position of global array '''msg'''.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
userid = msg[0];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Get currently logged in user&lt;br /&gt;
uuid login_userid;&lt;br /&gt;
send_wait(0, top_object(), &amp;quot;call_attr&amp;quot;, &amp;quot;cr&amp;quot;, &amp;quot;current_user_id&amp;quot;);&lt;br /&gt;
login_userid = msg[0];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mauricio.araujo</name></author>	</entry>

	</feed>