/usr/share/gtk-doc/html/lightdm-gobject-1/lightdm-gobject-1-User-Accounts.html is in liblightdm-gobject-dev 1.10.3-3.
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 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LightDM Reference Manual: User Accounts</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.21 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#lightdm-gobject-1-User-Accounts.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="lightdm-gobject-1-Sessions.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="lightdm-gobject-1-Power-Management.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></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 class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="lightdm-gobject-1-User-Accounts.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#changed" title="changed ()">*changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-background" title="lightdm_user_get_background ()">lightdm_user_get_background</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-has-messages" title="lightdm_user_get_has_messages ()">lightdm_user_get_has_messages</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-image" title="lightdm_user_get_image ()">lightdm_user_get_image</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-language" title="lightdm_user_get_language ()">lightdm_user_get_language</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-layout" title="lightdm_user_get_layout ()">lightdm_user_get_layout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-layouts" title="lightdm_user_get_layouts ()">lightdm_user_get_layouts</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-name" title="lightdm_user_get_name ()">lightdm_user_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-User-Accounts.html#lightdm-user-get-session" title="lightdm_user_get_session ()">lightdm_user_get_session</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-added" title="user_added ()">*user_added</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-changed" title="user_changed ()">*user_changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-User-Accounts.html#user-removed" title="user_removed ()">*user_removed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">LightDMUserList</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">LightDMUser</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-User-Accounts.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <lightdm.h>
</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" style="list-style-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.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="changed"></a><h3>changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*changed<span class="c_punctuation">)</span> (<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-background"></a><h3>lightdm_user_get_background ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_user_get_background (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>Get the background file path for a user.</p>
<div class="refsect3">
<a name="id-1.2.6.6.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.3.6"></a><h4>Returns</h4>
<p> The background file path for the given user or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if no path</p>
<p></p>
</div>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.4.6"></a><h4>Returns</h4>
<p> The display name of the given user</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-has-messages"></a><h3>lightdm_user_get_has_messages ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_user_get_has_messages (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>Check if a user has waiting messages.</p>
<div class="refsect3">
<a name="id-1.2.6.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.5.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the user has waiting messages.</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.6.6"></a><h4>Returns</h4>
<p> The users home directory</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.7.6"></a><h4>Returns</h4>
<p> The image URI for the given user or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if no URI</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.8.6"></a><h4>Returns</h4>
<p> The language in the form of a local specification (e.g. "de_DE.UTF-8") for the given user or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if using the system default locale.</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.9.6"></a><h4>Returns</h4>
<p> The keyboard layout for the given user or <a href="https://developer.gnome.org/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.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-user-get-layouts"></a><h3>lightdm_user_get_layouts ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
lightdm_user_get_layouts (<em class="parameter"><code><span class="type">LightDMUser</span> *user</code></em>);</pre>
<p>Get the configured keyboard layouts for a user.</p>
<div class="refsect3">
<a name="id-1.2.6.6.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.10.6"></a><h4>Returns</h4>
<p> A NULL-terminated array of keyboard layouts for the given user. Copy the values if you want to use them long term. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.11.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the user is currently logged in.</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.12.6"></a><h4>Returns</h4>
<p> The name of the given user</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.13.6"></a><h4>Returns</h4>
<p> The real name of the given user</p>
<p></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUser</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.14.6"></a><h4>Returns</h4>
<p> The session for the given user or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if using system defaults.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="user-added"></a><h3>user_added ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*user_added<span class="c_punctuation">)</span> (<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>
<span class="c_punctuation">(</span>*user_changed<span class="c_punctuation">)</span> (<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>
<span class="c_punctuation">(</span>*user_removed<span class="c_punctuation">)</span> (<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="refsect3">
<a name="id-1.2.6.6.18.5"></a><h4>Returns</h4>
<p> the <span class="type">LightDMUserList</span>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.19.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user_list</p></td>
<td class="parameter_description"><p>a <span class="type">LightDMUserList</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.19.5"></a><h4>Returns</h4>
<p> The number of users able to log in</p>
<p></p>
</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="https://developer.gnome.org/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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if this user doesn't exist.</p>
<div class="refsect3">
<a name="id-1.2.6.6.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>user_list</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUserList</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description"><p>Name of user to get.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.20.6"></a><h4>Returns</h4>
<p> A <span class="type">LightDMUser</span> entry for the given user. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</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="https://developer.gnome.org/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="refsect3">
<a name="id-1.2.6.6.21.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user_list</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMUserList</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.21.6"></a><h4>Returns</h4>
<p> A list of <span class="type">LightDMUser</span> that should be presented to the user. </p>
<p><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></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-User-Accounts.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|