This file is indexed.

/usr/share/gtk-doc/html/lightdm-gobject-1/lightdm-gobject-1-User-Accounts.html is in liblightdm-gobject-1-doc 1.2.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>User Accounts</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="LightDM Reference Manual">
<link rel="up" href="core.html" title="Part I. liblightdm-gobject">
<link rel="prev" href="lightdm-gobject-1-Sessions.html" title="User Sessions">
<link rel="next" href="lightdm-gobject-1-Power-Management.html" title="Power Management">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="lightdm-gobject-1-Sessions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">LightDM Reference Manual</th>
<td><a accesskey="n" href="lightdm-gobject-1-Power-Management.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#lightdm-gobject-1-User-Accounts.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#lightdm-gobject-1-User-Accounts.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="lightdm-gobject-1-User-Accounts"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="lightdm-gobject-1-User-Accounts.top_of_page"></a>User Accounts</span></h2>
<p>User Accounts — Get information on user accounts on this system</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="lightdm-gobject-1-User-Accounts.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;lightdm.h&gt;

<span class="returnvalue">void</span>                (<a class="link" href="lightdm-gobject-1-User-Accounts.html#changed" title="changed ()">*changed</a>)                          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-display-name" title="lightdm_user_get_display_name ()">lightdm_user_get_display_name</a>       (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-home-directory" title="lightdm_user_get_home_directory ()">lightdm_user_get_home_directory</a>     (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-image" title="lightdm_user_get_image ()">lightdm_user_get_image</a>              (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-language" title="lightdm_user_get_language ()">lightdm_user_get_language</a>           (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-layout" title="lightdm_user_get_layout ()">lightdm_user_get_layout</a>             (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-logged-in" title="lightdm_user_get_logged_in ()">lightdm_user_get_logged_in</a>          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-name" title="lightdm_user_get_name ()">lightdm_user_get_name</a>               (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-real-name" title="lightdm_user_get_real_name ()">lightdm_user_get_real_name</a>          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-session" title="lightdm_user_get_session ()">lightdm_user_get_session</a>            (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="lightdm-gobject-1-User-Accounts.html#user-added" title="user_added ()">*user_added</a>)                       (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="lightdm-gobject-1-User-Accounts.html#user-changed" title="user_changed ()">*user_changed</a>)                     (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="lightdm-gobject-1-User-Accounts.html#user-removed" title="user_removed ()">*user_removed</a>)                     (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);
<span class="returnvalue">LightDMUserList</span> *   <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-instance" title="lightdm_user_list_get_instance ()">lightdm_user_list_get_instance</a>      (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-length" title="lightdm_user_list_get_length ()">lightdm_user_list_get_length</a>        (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>);
<span class="returnvalue">LightDMUser</span> *       <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-user-by-name" title="lightdm_user_list_get_user_by_name ()">lightdm_user_list_get_user_by_name</a>  (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-list-get-users" title="lightdm_user_list_get_users ()">lightdm_user_list_get_users</a>         (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-User-Accounts.description"></a><h2>Description</h2>
<p>
Object containing information about a user present on this system. <span class="type">LightDMUser</span> objects are not created by the user, but provided by the <span class="type">LightDMGreeter</span> object.
</p>
<p>
A user has the following properties:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><p>The user name is used to refer to this user.</p></li>
<li class="listitem"><p>The real name is the name of the person that owns this user account.</p></li>
<li class="listitem"><p>The display name provides text to use for the user label.</p></li>
<li class="listitem"><p>The image URI provides an image to use for the user.</p></li>
</ul></div>
<p>
</p>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-User-Accounts.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="changed"></a><h3>changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*changed)                          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-display-name"></a><h3>lightdm_user_get_display_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_display_name       (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the display name of a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The display name of the given user</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-home-directory"></a><h3>lightdm_user_get_home_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_home_directory     (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the home directory for a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The users home directory</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-image"></a><h3>lightdm_user_get_image ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_image              (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the image URI for a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The image URI for the given user or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if no URI</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-language"></a><h3>lightdm_user_get_language ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_language           (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the language for a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The language for the given user or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if using system defaults.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-layout"></a><h3>lightdm_user_get_layout ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_layout             (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the keyboard layout for a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The keyboard layout for the given user or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if using system defaults.  Copy the value if you want to use it long term.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-logged-in"></a><h3>lightdm_user_get_logged_in ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            lightdm_user_get_logged_in          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Check if a user is logged in.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the user is currently logged in.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-name"></a><h3>lightdm_user_get_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_name               (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the name of a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The name of the given user</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-real-name"></a><h3>lightdm_user_get_real_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_real_name          (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the real name of a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The real name of the given user</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-session"></a><h3>lightdm_user_get_session ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       lightdm_user_get_session            (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
Get the session for a user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <span class="type">LightDMUser</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The session for the given user or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if using system defaults.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="user-added"></a><h3>user_added ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*user_added)                       (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="user-changed"></a><h3>user_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*user_changed)                     (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="user-removed"></a><h3>user_removed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*user_removed)                     (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-list-get-instance"></a><h3>lightdm_user_list_get_instance ()</h3>
<pre class="programlisting"><span class="returnvalue">LightDMUserList</span> *   lightdm_user_list_get_instance      (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Get the user list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <span class="type">LightDMUserList</span>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-list-get-length"></a><h3>lightdm_user_list_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                lightdm_user_list_get_length        (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_list</code></em> :</span></p></td>
<td>a <span class="type">LightDMUserList</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The number of users able to log in</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-list-get-user-by-name"></a><h3>lightdm_user_list_get_user_by_name ()</h3>
<pre class="programlisting"><span class="returnvalue">LightDMUser</span> *       lightdm_user_list_get_user_by_name  (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
<p>
Get infomation about a given user or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if this user doesn't exist.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_list</code></em> :</span></p></td>
<td>A <span class="type">LightDMUserList</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
<td>Name of user to get.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">LightDMUser</span> entry for the given user. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-list-get-users"></a><h3>lightdm_user_list_get_users ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             lightdm_user_list_get_users         (<em class="parameter"><code><span class="type">LightDMUserList</span> *user_list</code></em>);</pre>
<p>
Get a list of users to present to the user.  This list may be a subset of the
available users and may be empty depending on the server configuration.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_list</code></em> :</span></p></td>
<td>A <span class="type">LightDMUserList</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A list of <span class="type">LightDMUser</span> that should be presented to the user. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> LightDMUser][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>