Files
tgstation-server/_models_2_user_8cs_source.html

200 lines
38 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tgstation-server: src/Tgstation.Server.Host/Models/User.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">tgstation-server<span id="projectnumber">&#160;6.19.3</span>
</div>
<div id="projectbrief">The /tg/station 13 server suite</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_34761767c1c3cd212f9d2f80ea0828a8.html">Tgstation.Server.Host</a></li><li class="navelem"><a class="el" href="dir_c2c4d4ee47e55233c6ea5db8b96422c6.html">Models</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">User.cs</div></div>
</div><!--header-->
<div class="contents">
<a href="_models_2_user_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="keyword">using </span>System;</div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="keyword">using </span>System.Collections.Generic;</div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="keyword">using </span>System.ComponentModel.DataAnnotations;</div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="keyword">using </span>System.Linq;</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html">Tgstation.Server.Api.Models</a>;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response.html">Tgstation.Server.Api.Models.Response</a>;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_host_1_1_models_1_1_transformers.html">Tgstation.Server.Host.Models.Transformers</a>;</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_host_1_1_models.html">Tgstation.Server.Host.Models</a></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span>{</div>
<div class="foldopen" id="foldopen00013" data-start="{" data-end="};">
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html"> 13</a></span> <span class="keyword">public</span> <span class="keyword">sealed</span> <span class="keyword">class </span><a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html">User</a> : Api.Models.Internal.UserModelBase,</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_legacy_api_transformable.html">ILegacyApiTransformable</a>&lt;UserResponse&gt;,</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_api_transformable.html">IApiTransformable</a>&lt;User, GraphQL.Types.User, UserGraphQLTransformer&gt;,</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_api_transformable.html">IApiTransformable</a>&lt;User, GraphQL.Types.UserName, UserNameGraphQLTransformer&gt;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> {</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a2e68345f5d52c8ba64dca5ec061d029d"> 21</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a2e68345f5d52c8ba64dca5ec061d029d">TgsSystemUserName</a> = <span class="stringliteral">&quot;TGS&quot;</span>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ad989e03c102341f30d3d11bd4353d795"> 26</a></span> <span class="keyword">public</span> <span class="keywordtype">string</span>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ad989e03c102341f30d3d11bd4353d795">PasswordHash</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a29ff531eb009cc185905527b5d57bb18"> 31</a></span> <span class="keyword">public</span> <a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html">User</a>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a29ff531eb009cc185905527b5d57bb18">CreatedBy</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae68963b5b958ecf834b3bf2a669e875e"> 36</a></span> <span class="keyword">public</span> <span class="keywordtype">long</span>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae68963b5b958ecf834b3bf2a669e875e">CreatedById</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aed9e78b17d8134625a78a0e16f92d75d"> 41</a></span> <span class="keyword">public</span> <a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group.html">UserGroup</a>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aed9e78b17d8134625a78a0e16f92d75d">Group</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a6cfacc4829bcdc271653b4aef3d66621"> 46</a></span> <span class="keyword">public</span> <span class="keywordtype">long</span>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a6cfacc4829bcdc271653b4aef3d66621">GroupId</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ac20227cd30620c32573fa3ac4fbc4815"> 51</a></span> <span class="keyword">public</span> <a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html">PermissionSet</a>? <a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html">PermissionSet</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> [<a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html#ae758c5cd6d61f61a7dc4b6f3c7000b52ab651efdb98a5d6bd2b3935d0c3f4a5e2">Required</a>]</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> [StringLength(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits.html">Limits</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits.html#aefd2529f2213c4bfdc9ba41812ef108b">MaximumIndexableStringLength</a>, MinimumLength = 1)]</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ab9a882e5ee140dae6dff00a241a9c609"> 58</a></span> <span class="keyword">public</span> <span class="keywordtype">string</span>? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ab9a882e5ee140dae6dff00a241a9c609">CanonicalName</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#abd891143624157c8f48bd166cc88ab26"> 63</a></span> <span class="keyword">public</span> DateTimeOffset? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#abd891143624157c8f48bd166cc88ab26">LastPasswordUpdate</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aebdfd60d98527de42d3937f15c5faa0f"> 68</a></span> <span class="keyword">public</span> ICollection&lt;User&gt;? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aebdfd60d98527de42d3937f15c5faa0f">CreatedUsers</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a5883332794fbc05a435f2df074d1effc"> 73</a></span> <span class="keyword">public</span> ICollection&lt;TestMerge&gt;? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a5883332794fbc05a435f2df074d1effc">TestMerges</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a220194c0f49ed363ee63948ac32a2fb5"> 78</a></span> <span class="keyword">public</span> ICollection&lt;OAuthConnection&gt;? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a220194c0f49ed363ee63948ac32a2fb5">OAuthConnections</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ace6d4809df17cb8cdae774085cc1f56d"> 83</a></span> <span class="keyword">public</span> ICollection&lt;OidcConnection&gt;? <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ace6d4809df17cb8cdae774085cc1f56d">OidcConnections</a> { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a4b139051d0d6db501e37590fa1eabf16"> 90</a></span> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">string</span> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a4b139051d0d6db501e37590fa1eabf16">CanonicalizeName</a>(<span class="keywordtype">string</span> name) =&gt; name?.ToUpperInvariant() ?? <span class="keywordflow">throw</span> <span class="keyword">new</span> ArgumentNullException(nameof(name));</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae966a7ee34ef9b33c28f1d8ac6c631ef"> 93</a></span> <span class="keyword">public</span> <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_user_response.html">UserResponse</a> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae966a7ee34ef9b33c28f1d8ac6c631ef">ToApi</a>() =&gt; <a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aa71fac864062f40aa138f93476950d8b">CreateUserResponse</a>(<span class="keyword">true</span>);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="foldopen" id="foldopen00100" data-start="{" data-end="}">
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aa71fac864062f40aa138f93476950d8b"> 100</a></span> <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_user_response.html">UserResponse</a> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aa71fac864062f40aa138f93476950d8b">CreateUserResponse</a>(<span class="keywordtype">bool</span> recursive)</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> {</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> var result = CreateUserName&lt;UserResponse&gt;();</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">if</span> (recursive)</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> result.CreatedBy = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a29ff531eb009cc185905527b5d57bb18">CreatedBy</a>?.<a class="code hl_function" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name.html#a9f75360b06ae3468b43b68c48a2bccc2">CreateUserName</a>&lt;<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name.html">UserName</a>&gt;();</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> result.CreatedAt = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#abd4ba856828a87134ff5947bd134b85f">CreatedAt</a>;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> result.Enabled = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#a442b355a92704a9cbf29edaafd7975ed">Enabled</a>;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> result.SystemIdentifier = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#ab579df00363a2d7f71a25af0585a8ef2">SystemIdentifier</a>;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> result.OAuthConnections = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a220194c0f49ed363ee63948ac32a2fb5">OAuthConnections</a></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> ?.Select(x =&gt; x.ToApi())</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> .ToList();</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> result.OidcConnections = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ace6d4809df17cb8cdae774085cc1f56d">OidcConnections</a></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> ?.Select(x =&gt; x.ToApi())</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> .ToList();</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> result.Group = <a class="code hl_property" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aed9e78b17d8134625a78a0e16f92d75d">Group</a>?.<a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group.html#aa38ee7281d84a9e3cce242aa6df2dffc">ToApi</a>(<span class="keyword">false</span>);</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> result.PermissionSet = <a class="code hl_class" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html">PermissionSet</a>?.<a class="code hl_function" href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html#a0c4c85a1b94bc28e9ca083765992e7fa">ToApi</a>();</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">return</span> result;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> }</div>
</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span>}</div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base_html_a442b355a92704a9cbf29edaafd7975ed"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#a442b355a92704a9cbf29edaafd7975ed">Tgstation.Server.Api.Models.Internal.UserModelBase.Enabled</a></div><div class="ttdeci">bool? Enabled</div><div class="ttdoc">If the UserModelBase is enabled since users cannot be deleted. System users cannot be disabled.</div><div class="ttdef"><b>Definition</b> <a href="_user_model_base_8cs_source.html#l00015">UserModelBase.cs:15</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base_html_ab579df00363a2d7f71a25af0585a8ef2"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#ab579df00363a2d7f71a25af0585a8ef2">Tgstation.Server.Api.Models.Internal.UserModelBase.SystemIdentifier</a></div><div class="ttdeci">string? SystemIdentifier</div><div class="ttdoc">The SID/UID of the UserModelBase on Windows/POSIX respectively.</div><div class="ttdef"><b>Definition</b> <a href="_user_model_base_8cs_source.html#l00029">UserModelBase.cs:29</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base_html_abd4ba856828a87134ff5947bd134b85f"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_internal_1_1_user_model_base.html#abd4ba856828a87134ff5947bd134b85f">Tgstation.Server.Api.Models.Internal.UserModelBase.CreatedAt</a></div><div class="ttdeci">DateTimeOffset? CreatedAt</div><div class="ttdoc">When the UserModelBase was created.</div><div class="ttdef"><b>Definition</b> <a href="_user_model_base_8cs_source.html#l00022">UserModelBase.cs:22</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits.html">Tgstation.Server.Api.Models.Limits</a></div><div class="ttdoc">Sanity limits to prevent users from overloading.</div><div class="ttdef"><b>Definition</b> <a href="_limits_8cs_source.html#l00008">Limits.cs:9</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits_html_aefd2529f2213c4bfdc9ba41812ef108b"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_limits.html#aefd2529f2213c4bfdc9ba41812ef108b">Tgstation.Server.Api.Models.Limits.MaximumIndexableStringLength</a></div><div class="ttdeci">const int MaximumIndexableStringLength</div><div class="ttdoc">Length limit for NamedEntity.Names.</div><div class="ttdef"><b>Definition</b> <a href="_limits_8cs_source.html#l00023">Limits.cs:23</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_user_response_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_user_response.html">Tgstation.Server.Api.Models.Response.UserResponse</a></div><div class="ttdef"><b>Definition</b> <a href="_user_response_8cs_source.html#l00008">UserResponse.cs:9</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name.html">Tgstation.Server.Api.Models.UserName</a></div><div class="ttdoc">Base class for user names.</div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_api_2_models_2_user_name_8cs_source.html#l00006">UserName.cs:7</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name_html_a9f75360b06ae3468b43b68c48a2bccc2"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_user_name.html#a9f75360b06ae3468b43b68c48a2bccc2">Tgstation.Server.Api.Models.UserName.CreateUserName</a></div><div class="ttdeci">UserName CreateUserName()</div><div class="ttdoc">Create a copy of the UserName.</div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html">Tgstation.Server.Host.Models.PermissionSet</a></div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_host_2_models_2_permission_set_8cs_source.html#l00008">PermissionSet.cs:9</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set_html_a0c4c85a1b94bc28e9ca083765992e7fa"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_permission_set.html#a0c4c85a1b94bc28e9ca083765992e7fa">Tgstation.Server.Host.Models.PermissionSet.ToApi</a></div><div class="ttdeci">Api.Models.PermissionSet ToApi()</div><div class="ttdoc">Convert the PermissionSet to it's API form.</div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group.html">Tgstation.Server.Host.Models.UserGroup</a></div><div class="ttdoc">Represents a group of Users.</div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_host_2_models_2_user_group_8cs_source.html#l00015">UserGroup.cs:16</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group_html_aa38ee7281d84a9e3cce242aa6df2dffc"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_group.html#aa38ee7281d84a9e3cce242aa6df2dffc">Tgstation.Server.Host.Models.UserGroup.ToApi</a></div><div class="ttdeci">UserGroupResponse ToApi(bool showUsers)</div><div class="ttdoc">Convert the UserGroup to it's API form.</div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html">Tgstation.Server.Host.Models.User</a></div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00013">User.cs:17</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a220194c0f49ed363ee63948ac32a2fb5"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a220194c0f49ed363ee63948ac32a2fb5">Tgstation.Server.Host.Models.User.OAuthConnections</a></div><div class="ttdeci">ICollection&lt; OAuthConnection &gt;? OAuthConnections</div><div class="ttdoc">The OAuthConnections for the User.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00078">User.cs:78</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a29ff531eb009cc185905527b5d57bb18"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a29ff531eb009cc185905527b5d57bb18">Tgstation.Server.Host.Models.User.CreatedBy</a></div><div class="ttdeci">User? CreatedBy</div><div class="ttdoc">See UserResponse.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00031">User.cs:31</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a2e68345f5d52c8ba64dca5ec061d029d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a2e68345f5d52c8ba64dca5ec061d029d">Tgstation.Server.Host.Models.User.TgsSystemUserName</a></div><div class="ttdeci">const string TgsSystemUserName</div><div class="ttdoc">Username used when creating jobs automatically.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00021">User.cs:21</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a4b139051d0d6db501e37590fa1eabf16"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a4b139051d0d6db501e37590fa1eabf16">Tgstation.Server.Host.Models.User.CanonicalizeName</a></div><div class="ttdeci">static string CanonicalizeName(string name)</div><div class="ttdoc">Change a UserName.Name into a CanonicalName.</div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a5883332794fbc05a435f2df074d1effc"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a5883332794fbc05a435f2df074d1effc">Tgstation.Server.Host.Models.User.TestMerges</a></div><div class="ttdeci">ICollection&lt; TestMerge &gt;? TestMerges</div><div class="ttdoc">The TestMerges made by the User.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00073">User.cs:73</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_a6cfacc4829bcdc271653b4aef3d66621"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#a6cfacc4829bcdc271653b4aef3d66621">Tgstation.Server.Host.Models.User.GroupId</a></div><div class="ttdeci">long? GroupId</div><div class="ttdoc">The EntityId.Id of the User's Group.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00046">User.cs:46</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_aa71fac864062f40aa138f93476950d8b"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aa71fac864062f40aa138f93476950d8b">Tgstation.Server.Host.Models.User.CreateUserResponse</a></div><div class="ttdeci">UserResponse CreateUserResponse(bool recursive)</div><div class="ttdoc">Generate a UserResponse from this.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00100">User.cs:100</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_ab9a882e5ee140dae6dff00a241a9c609"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ab9a882e5ee140dae6dff00a241a9c609">Tgstation.Server.Host.Models.User.CanonicalName</a></div><div class="ttdeci">string? CanonicalName</div><div class="ttdoc">The uppercase invariant of UserName.Name.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00058">User.cs:58</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_abd891143624157c8f48bd166cc88ab26"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#abd891143624157c8f48bd166cc88ab26">Tgstation.Server.Host.Models.User.LastPasswordUpdate</a></div><div class="ttdeci">DateTimeOffset? LastPasswordUpdate</div><div class="ttdoc">When PasswordHash was last changed.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00063">User.cs:63</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_ace6d4809df17cb8cdae774085cc1f56d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ace6d4809df17cb8cdae774085cc1f56d">Tgstation.Server.Host.Models.User.OidcConnections</a></div><div class="ttdeci">ICollection&lt; OidcConnection &gt;? OidcConnections</div><div class="ttdoc">The OidcConnections for the User.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00083">User.cs:83</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_ad989e03c102341f30d3d11bd4353d795"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ad989e03c102341f30d3d11bd4353d795">Tgstation.Server.Host.Models.User.PasswordHash</a></div><div class="ttdeci">string? PasswordHash</div><div class="ttdoc">The hash of the user's password.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00026">User.cs:26</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_ae68963b5b958ecf834b3bf2a669e875e"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae68963b5b958ecf834b3bf2a669e875e">Tgstation.Server.Host.Models.User.CreatedById</a></div><div class="ttdeci">long? CreatedById</div><div class="ttdoc">The EntityId.Id of the User's CreatedBy User.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00036">User.cs:36</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_ae966a7ee34ef9b33c28f1d8ac6c631ef"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#ae966a7ee34ef9b33c28f1d8ac6c631ef">Tgstation.Server.Host.Models.User.ToApi</a></div><div class="ttdeci">UserResponse ToApi()</div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_aebdfd60d98527de42d3937f15c5faa0f"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aebdfd60d98527de42d3937f15c5faa0f">Tgstation.Server.Host.Models.User.CreatedUsers</a></div><div class="ttdeci">ICollection&lt; User &gt;? CreatedUsers</div><div class="ttdoc">Users created by this User.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00068">User.cs:68</a></div></div>
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_models_1_1_user_html_aed9e78b17d8134625a78a0e16f92d75d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_models_1_1_user.html#aed9e78b17d8134625a78a0e16f92d75d">Tgstation.Server.Host.Models.User.Group</a></div><div class="ttdeci">UserGroup? Group</div><div class="ttdoc">The UserGroup the User belongs to, if any.</div><div class="ttdef"><b>Definition</b> <a href="_models_2_user_8cs_source.html#l00041">User.cs:41</a></div></div>
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_api_transformable_html"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_api_transformable.html">Tgstation.Server.Host.Models.IApiTransformable</a></div><div class="ttdoc">Represents a host-side model that may be transformed into a TApiModel .</div><div class="ttdef"><b>Definition</b> <a href="_i_api_transformable_02_t_model_00_t_api_model_00_t_transformer_03_8cs_source.html#l00013">IApiTransformable{TModel,TApiModel,TTransformer}.cs:17</a></div></div>
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_legacy_api_transformable_html"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_host_1_1_models_1_1_i_legacy_api_transformable.html">Tgstation.Server.Host.Models.ILegacyApiTransformable</a></div><div class="ttdoc">Represents a host-side model that may be transformed into a TApiModel .</div><div class="ttdef"><b>Definition</b> <a href="_i_legacy_api_transformable_02_t_api_model_03_8cs_source.html#l00007">ILegacyApiTransformable{TApiModel}.cs:8</a></div></div>
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response.html">Tgstation.Server.Api.Models.Response</a></div><div class="ttdef"><b>Definition</b> <a href="_administration_response_8cs_source.html#l00005">AdministrationResponse.cs:6</a></div></div>
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html">Tgstation.Server.Api.Models</a></div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_api_2_models_2_chat_channel_8cs_source.html#l00005">ChatChannel.cs:6</a></div></div>
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_html_ae758c5cd6d61f61a7dc4b6f3c7000b52ab651efdb98a5d6bd2b3935d0c3f4a5e2"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html#ae758c5cd6d61f61a7dc4b6f3c7000b52ab651efdb98a5d6bd2b3935d0c3f4a5e2">Tgstation.Server.Api.Models.DMApiValidationMode.Required</a></div><div class="ttdeci">@ Required</div><div class="ttdoc">DMAPI validation must suceed for the deployment to succeed.</div></div>
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_models_1_1_transformers_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_models_1_1_transformers.html">Tgstation.Server.Host.Models.Transformers</a></div><div class="ttdef"><b>Definition</b> <a href="_permission_set_graph_q_l_transformer_8cs_source.html#l00004">PermissionSetGraphQLTransformer.cs:5</a></div></div>
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_models_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_models.html">Tgstation.Server.Host.Models</a></div><div class="ttdef"><b>Definition</b> <a href="_models_2_chat_bot_8cs_source.html#l00008">ChatBot.cs:9</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>