System.Security.Principal.Windows.xml 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011
  1. <?xml version="1.0" encoding="utf-8"?><doc>
  2. <assembly>
  3. <name>System.Security.Principal.Windows</name>
  4. </assembly>
  5. <members>
  6. <member name="T:System.Security.Principal.IdentityNotMappedException">
  7. <summary>Represents an exception for a principal whose identity could not be mapped to a known identity.</summary>
  8. </member>
  9. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor">
  10. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException"></see> class.</summary>
  11. </member>
  12. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String)">
  13. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException"></see> class by using the specified error message.</summary>
  14. <param name="message">The error message that explains the reason for the exception.</param>
  15. </member>
  16. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String,System.Exception)">
  17. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException"></see> class by using the specified error message and inner exception.</summary>
  18. <param name="message">The error message that explains the reason for the exception.</param>
  19. <param name="inner">The exception that is the cause of the current exception. If inner is not null, the current exception is raised in a catch block that handles the inner exception.</param>
  20. </member>
  21. <member name="M:System.Security.Principal.IdentityNotMappedException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  22. <summary>Gets serialization information with the data needed to create an instance of this <see cref="T:System.Security.Principal.IdentityNotMappedException"></see> object.</summary>
  23. <param name="serializationInfo">The object that holds the serialized object data about the exception being thrown.</param>
  24. <param name="streamingContext">The object that contains contextual information about the source or destination.</param>
  25. </member>
  26. <member name="P:System.Security.Principal.IdentityNotMappedException.UnmappedIdentities">
  27. <summary>Represents the collection of unmapped identities for an <see cref="T:System.Security.Principal.IdentityNotMappedException"></see> exception.</summary>
  28. <returns>The collection of unmapped identities.</returns>
  29. </member>
  30. <member name="T:System.Security.Principal.IdentityReference">
  31. <summary>Represents an identity and is the base class for the <see cref="T:System.Security.Principal.NTAccount"></see> and <see cref="T:System.Security.Principal.SecurityIdentifier"></see> classes. This class does not provide a public constructor, and therefore cannot be inherited.</summary>
  32. </member>
  33. <member name="M:System.Security.Principal.IdentityReference.Equals(System.Object)">
  34. <summary>Returns a value that indicates whether the specified object equals this instance of the <see cref="T:System.Security.Principal.IdentityReference"></see> class.</summary>
  35. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.IdentityReference"></see> instance, or a null reference.</param>
  36. <returns>true if <paramref name="o">o</paramref> is an object with the same underlying type and value as this <see cref="System.Security.Principal.IdentityReference"></see> instance; otherwise, false.</returns>
  37. </member>
  38. <member name="M:System.Security.Principal.IdentityReference.GetHashCode">
  39. <summary>Serves as a hash function for <see cref="T:System.Security.Principal.IdentityReference"></see>. <see cref="M:System.Security.Principal.IdentityReference.GetHashCode"></see> is suitable for use in hashing algorithms and data structures like a hash table.</summary>
  40. <returns>The hash code for this <see cref="System.Security.Principal.IdentityReference"></see> object.</returns>
  41. </member>
  42. <member name="M:System.Security.Principal.IdentityReference.IsValidTargetType(System.Type)">
  43. <summary>Returns a value that indicates whether the specified type is a valid translation type for the <see cref="T:System.Security.Principal.IdentityReference"></see> class.</summary>
  44. <param name="targetType">The type being queried for validity to serve as a conversion from <see cref="T:System.Security.Principal.IdentityReference"></see>. The following target types are valid:
  45. <see cref="T:System.Security.Principal.NTAccount"></see><see cref="T:System.Security.Principal.SecurityIdentifier"></see></param>
  46. <returns>true if <paramref name="targetType">targetType</paramref> is a valid translation type for the <see cref="System.Security.Principal.IdentityReference"></see> class; otherwise, false.</returns>
  47. </member>
  48. <member name="M:System.Security.Principal.IdentityReference.op_Equality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
  49. <summary>Compares two <see cref="T:System.Security.Principal.IdentityReference"></see> objects to determine whether they are equal. They are considered equal if they have the same canonical name representation as the one returned by the <see cref="P:System.Security.Principal.IdentityReference.Value"></see> property or if they are both null.</summary>
  50. <param name="left">The left <see cref="T:System.Security.Principal.IdentityReference"></see> operand to use for the equality comparison. This parameter can be null.</param>
  51. <param name="right">The right <see cref="T:System.Security.Principal.IdentityReference"></see> operand to use for the equality comparison. This parameter can be null.</param>
  52. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are equal; otherwise, false.</returns>
  53. </member>
  54. <member name="M:System.Security.Principal.IdentityReference.op_Inequality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
  55. <summary>Compares two <see cref="T:System.Security.Principal.IdentityReference"></see> objects to determine whether they are not equal. They are considered not equal if they have different canonical name representations than the one returned by the <see cref="P:System.Security.Principal.IdentityReference.Value"></see> property or if one of the objects is null and the other is not.</summary>
  56. <param name="left">The left <see cref="T:System.Security.Principal.IdentityReference"></see> operand to use for the inequality comparison. This parameter can be null.</param>
  57. <param name="right">The right <see cref="T:System.Security.Principal.IdentityReference"></see> operand to use for the inequality comparison. This parameter can be null.</param>
  58. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are not equal; otherwise, false.</returns>
  59. </member>
  60. <member name="M:System.Security.Principal.IdentityReference.ToString">
  61. <summary>Returns the string representation of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference"></see> object.</summary>
  62. <returns>The identity in string format.</returns>
  63. </member>
  64. <member name="M:System.Security.Principal.IdentityReference.Translate(System.Type)">
  65. <summary>Translates the account name represented by the <see cref="T:System.Security.Principal.IdentityReference"></see> object into another <see cref="T:System.Security.Principal.IdentityReference"></see>-derived type.</summary>
  66. <param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.IdentityReference"></see>.</param>
  67. <returns>The converted identity.</returns>
  68. </member>
  69. <member name="P:System.Security.Principal.IdentityReference.Value">
  70. <summary>Gets the string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference"></see> object.</summary>
  71. <returns>The string value of the identity represented by the <see cref="System.Security.Principal.IdentityReference"></see> object.</returns>
  72. </member>
  73. <member name="T:System.Security.Principal.IdentityReferenceCollection">
  74. <summary>Represents a collection of <see cref="T:System.Security.Principal.IdentityReference"></see> objects and provides a means of converting sets of <see cref="T:System.Security.Principal.IdentityReference"></see>-derived objects to <see cref="T:System.Security.Principal.IdentityReference"></see>-derived types.</summary>
  75. </member>
  76. <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor">
  77. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> class with zero items in the collection.</summary>
  78. </member>
  79. <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor(System.Int32)">
  80. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> class by using the specified initial size.</summary>
  81. <param name="capacity">The initial number of items in the collection. The value of capacity is a hint only; it is not necessarily the maximum number of items created.</param>
  82. </member>
  83. <member name="M:System.Security.Principal.IdentityReferenceCollection.Add(System.Security.Principal.IdentityReference)">
  84. <summary>Adds an <see cref="T:System.Security.Principal.IdentityReference"></see> object to the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  85. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference"></see> object to add to the collection.</param>
  86. <exception cref="T:System.ArgumentNullException"><paramref name="identity">identity</paramref> is null.</exception>
  87. </member>
  88. <member name="M:System.Security.Principal.IdentityReferenceCollection.Clear">
  89. <summary>Clears all <see cref="T:System.Security.Principal.IdentityReference"></see> objects from the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  90. </member>
  91. <member name="M:System.Security.Principal.IdentityReferenceCollection.Contains(System.Security.Principal.IdentityReference)">
  92. <summary>Indicates whether the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection contains the specified <see cref="T:System.Security.Principal.IdentityReference"></see> object.</summary>
  93. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference"></see> object to check for.</param>
  94. <returns>true if the collection contains the specified object.</returns>
  95. <exception cref="T:System.ArgumentNullException"><paramref name="identity">identity</paramref> is null.</exception>
  96. </member>
  97. <member name="M:System.Security.Principal.IdentityReferenceCollection.CopyTo(System.Security.Principal.IdentityReference[],System.Int32)">
  98. <summary>Copies the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection to an <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> array, starting at the specified index.</summary>
  99. <param name="array">An <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> array object to which the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection is to be copied.</param>
  100. <param name="offset">The zero-based index in array where the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection is to be copied.</param>
  101. </member>
  102. <member name="P:System.Security.Principal.IdentityReferenceCollection.Count">
  103. <summary>Gets the number of items in the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  104. <returns>The number of <see cref="System.Security.Principal.IdentityReference"></see> objects in the <see cref="System.Security.Principal.IdentityReferenceCollection"></see> collection.</returns>
  105. </member>
  106. <member name="M:System.Security.Principal.IdentityReferenceCollection.GetEnumerator">
  107. <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  108. <returns>An enumerator for the <see cref="System.Security.Principal.IdentityReferenceCollection"></see> collection.</returns>
  109. </member>
  110. <member name="P:System.Security.Principal.IdentityReferenceCollection.Item(System.Int32)">
  111. <summary>Sets or gets the node at the specified index of the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  112. <param name="index">The zero-based index in the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</param>
  113. <returns>The <see cref="System.Security.Principal.IdentityReference"></see> at the specified index in the collection. If <paramref name="index">index</paramref> is greater than or equal to the number of nodes in the collection, the return value is null.</returns>
  114. </member>
  115. <member name="M:System.Security.Principal.IdentityReferenceCollection.Remove(System.Security.Principal.IdentityReference)">
  116. <summary>Removes the specified <see cref="T:System.Security.Principal.IdentityReference"></see> object from the collection.</summary>
  117. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference"></see> object to remove.</param>
  118. <returns>true if the specified object was removed from the collection.</returns>
  119. <exception cref="T:System.ArgumentNullException"><paramref name="identity">identity</paramref> is null.</exception>
  120. </member>
  121. <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type)">
  122. <summary>Converts the objects in the collection to the specified type. Calling this method is the same as calling <see cref="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type,System.Boolean)"></see> with the second parameter set to false, which means that exceptions will not be thrown for items that fail conversion.</summary>
  123. <param name="targetType">The type to which items in the collection are being converted.</param>
  124. <returns>A <see cref="System.Security.Principal.IdentityReferenceCollection"></see> collection that represents the converted contents of the original collection.</returns>
  125. </member>
  126. <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type,System.Boolean)">
  127. <summary>Converts the objects in the collection to the specified type and uses the specified fault tolerance to handle or ignore errors associated with a type not having a conversion mapping.</summary>
  128. <param name="targetType">The type to which items in the collection are being converted.</param>
  129. <param name="forceSuccess">A Boolean value that determines how conversion errors are handled.
  130. If forceSuccess is true, conversion errors due to a mapping not being found for the translation result in a failed conversion and exceptions being thrown.
  131. If forceSuccess is false, types that failed to convert due to a mapping not being found for the translation are copied without being converted into the collection being returned.</param>
  132. <returns>A <see cref="System.Security.Principal.IdentityReferenceCollection"></see> collection that represents the converted contents of the original collection.</returns>
  133. </member>
  134. <member name="P:System.Security.Principal.IdentityReferenceCollection.System#Collections#Generic#ICollection{System#Security#Principal#IdentityReference}#IsReadOnly">
  135. <returns></returns>
  136. </member>
  137. <member name="M:System.Security.Principal.IdentityReferenceCollection.System#Collections#IEnumerable#GetEnumerator">
  138. <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection"></see> collection.</summary>
  139. <returns>An enumerator for the <see cref="System.Security.Principal.IdentityReferenceCollection"></see> collection.</returns>
  140. </member>
  141. <member name="T:System.Security.Principal.NTAccount">
  142. <summary>Represents a user or group account.</summary>
  143. </member>
  144. <member name="M:System.Security.Principal.NTAccount.#ctor(System.String)">
  145. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.NTAccount"></see> class by using the specified name.</summary>
  146. <param name="name">The name used to create the <see cref="T:System.Security.Principal.NTAccount"></see> object. This parameter cannot be null or an empty string.</param>
  147. <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
  148. <exception cref="T:System.ArgumentException"><paramref name="name">name</paramref> is an empty string.
  149. -or-
  150. <paramref name="name">name</paramref> is too long.</exception>
  151. </member>
  152. <member name="M:System.Security.Principal.NTAccount.#ctor(System.String,System.String)">
  153. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.NTAccount"></see> class by using the specified domain name and account name.</summary>
  154. <param name="domainName">The name of the domain. This parameter can be null or an empty string. Domain names that are null values are treated like an empty string.</param>
  155. <param name="accountName">The name of the account. This parameter cannot be null or an empty string.</param>
  156. <exception cref="T:System.ArgumentNullException"><paramref name="accountName">accountName</paramref> is null.</exception>
  157. <exception cref="T:System.ArgumentException"><paramref name="accountName">accountName</paramref> is an empty string.
  158. -or-
  159. <paramref name="accountName">accountName</paramref> is too long.
  160. -or-
  161. <paramref name="domainName">domainName</paramref> is too long.</exception>
  162. </member>
  163. <member name="M:System.Security.Principal.NTAccount.Equals(System.Object)">
  164. <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.NTAccount"></see> object is equal to a specified object.</summary>
  165. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.NTAccount"></see> object, or null.</param>
  166. <returns>true if <paramref name="o">o</paramref> is an object with the same underlying type and value as this <see cref="System.Security.Principal.NTAccount"></see> object; otherwise, false.</returns>
  167. </member>
  168. <member name="M:System.Security.Principal.NTAccount.GetHashCode">
  169. <summary>Serves as a hash function for the current <see cref="T:System.Security.Principal.NTAccount"></see> object. The <see cref="M:System.Security.Principal.NTAccount.GetHashCode"></see> method is suitable for hashing algorithms and data structures like a hash table.</summary>
  170. <returns>A hash value for the current <see cref="System.Security.Principal.NTAccount"></see> object.</returns>
  171. </member>
  172. <member name="M:System.Security.Principal.NTAccount.IsValidTargetType(System.Type)">
  173. <summary>Returns a value that indicates whether the specified type is a valid translation type for the <see cref="T:System.Security.Principal.NTAccount"></see> class.</summary>
  174. <param name="targetType">The type being queried for validity to serve as a conversion from <see cref="T:System.Security.Principal.NTAccount"></see>. The following target types are valid:
  175. - <see cref="T:System.Security.Principal.NTAccount"></see>
  176. - <see cref="T:System.Security.Principal.SecurityIdentifier"></see></param>
  177. <returns>true if <paramref name="targetType">targetType</paramref> is a valid translation type for the <see cref="System.Security.Principal.NTAccount"></see> class; otherwise false.</returns>
  178. </member>
  179. <member name="M:System.Security.Principal.NTAccount.op_Equality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
  180. <summary>Compares two <see cref="T:System.Security.Principal.NTAccount"></see> objects to determine whether they are equal. They are considered equal if they have the same canonical name representation as the one returned by the <see cref="P:System.Security.Principal.NTAccount.Value"></see> property or if they are both null.</summary>
  181. <param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
  182. <param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
  183. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are equal; otherwise false.</returns>
  184. </member>
  185. <member name="M:System.Security.Principal.NTAccount.op_Inequality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
  186. <summary>Compares two <see cref="T:System.Security.Principal.NTAccount"></see> objects to determine whether they are not equal. They are considered not equal if they have different canonical name representations than the one returned by the <see cref="P:System.Security.Principal.NTAccount.Value"></see> property or if one of the objects is null and the other is not.</summary>
  187. <param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
  188. <param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
  189. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are not equal; otherwise false.</returns>
  190. </member>
  191. <member name="M:System.Security.Principal.NTAccount.ToString">
  192. <summary>Returns the account name, in Domain \ Account format, for the account represented by the <see cref="T:System.Security.Principal.NTAccount"></see> object.</summary>
  193. <returns>The account name, in Domain \ Account format.</returns>
  194. </member>
  195. <member name="M:System.Security.Principal.NTAccount.Translate(System.Type)">
  196. <summary>Translates the account name represented by the <see cref="T:System.Security.Principal.NTAccount"></see> object into another <see cref="T:System.Security.Principal.IdentityReference"></see>-derived type.</summary>
  197. <param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.NTAccount"></see>. The target type must be a type that is considered valid by the <see cref="M:System.Security.Principal.NTAccount.IsValidTargetType(System.Type)"></see> method.</param>
  198. <returns>The converted identity.</returns>
  199. <exception cref="T:System.ArgumentNullException"><paramref name="targetType">targetType</paramref> is null.</exception>
  200. <exception cref="T:System.ArgumentException"><paramref name="targetType">targetType</paramref> is not an <see cref="System.Security.Principal.IdentityReference"></see> type.</exception>
  201. <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
  202. <exception cref="T:System.SystemException">The source account name is too long.
  203. -or-
  204. A Win32 error code was returned.</exception>
  205. </member>
  206. <member name="P:System.Security.Principal.NTAccount.Value">
  207. <summary>Returns an uppercase string representation of this <see cref="T:System.Security.Principal.NTAccount"></see> object.</summary>
  208. <returns>The uppercase string representation of this <see cref="System.Security.Principal.NTAccount"></see> object.</returns>
  209. </member>
  210. <member name="T:System.Security.Principal.SecurityIdentifier">
  211. <summary>Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.</summary>
  212. </member>
  213. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.IntPtr)">
  214. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class by using an integer that represents the binary form of a security identifier (SID).</summary>
  215. <param name="binaryForm">An integer that represents the binary form of a SID.</param>
  216. </member>
  217. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.String)">
  218. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class by using the specified security identifier (SID) in Security Descriptor Definition Language (SDDL) format.</summary>
  219. <param name="sddlForm">SDDL string for the SID used to create the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</param>
  220. </member>
  221. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Byte[],System.Int32)">
  222. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class by using a specified binary representation of a security identifier (SID).</summary>
  223. <param name="binaryForm">The byte array that represents the SID.</param>
  224. <param name="offset">The byte offset to use as the starting index in binaryForm.</param>
  225. </member>
  226. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Security.Principal.WellKnownSidType,System.Security.Principal.SecurityIdentifier)">
  227. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class by using the specified well known security identifier (SID) type and domain SID.</summary>
  228. <param name="sidType">One of the enumeration values. This value must not be <see cref="F:System.Security.Principal.WellKnownSidType.LogonIdsSid"></see>.</param>
  229. <param name="domainSid">The domain SID. This value is required for the following <see cref="T:System.Security.Principal.WellKnownSidType"></see> values. This parameter is ignored for any other <see cref="T:System.Security.Principal.WellKnownSidType"></see> values.
  230. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid"></see>
  231. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountGuestSid"></see>
  232. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid"></see>
  233. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid"></see>
  234. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid"></see>
  235. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid"></see>
  236. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountComputersSid"></see>
  237. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountControllersSid"></see>
  238. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid"></see>
  239. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid"></see>
  240. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid"></see>
  241. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid"></see>
  242. - <see cref="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid"></see></param>
  243. </member>
  244. <member name="P:System.Security.Principal.SecurityIdentifier.AccountDomainSid">
  245. <summary>Returns the account domain security identifier (SID) portion from the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object if the SID represents a Windows account SID. If the SID does not represent a Windows account SID, this property returns <see cref="T:System.ArgumentNullException"></see>.</summary>
  246. <returns>The account domain SID portion from the SID represented by the <see cref="System.Security.Principal.SecurityIdentifier"></see> object if the SID represents a Windows account SID; otherwise, it returns <see cref="System.ArgumentNullException"></see>.</returns>
  247. </member>
  248. <member name="P:System.Security.Principal.SecurityIdentifier.BinaryLength">
  249. <summary>Returns the length, in bytes, of the security identifier (SID) represented by the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</summary>
  250. <returns>The length, in bytes, of the SID represented by the <see cref="System.Security.Principal.SecurityIdentifier"></see> object.</returns>
  251. </member>
  252. <member name="M:System.Security.Principal.SecurityIdentifier.CompareTo(System.Security.Principal.SecurityIdentifier)">
  253. <summary>Compares the current <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object with the specified <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</summary>
  254. <param name="sid">The object to compare with the current object.</param>
  255. <returns>A signed number indicating the relative values of this instance and <paramref name="sid">sid</paramref>.
  256. Return Value
  257. Description
  258. Less than zero
  259. This instance is less than <paramref name="sid">sid</paramref>.
  260. Zero
  261. This instance is equal to <paramref name="sid">sid</paramref>.
  262. Greater than zero
  263. This instance is greater than <paramref name="sid">sid</paramref>.
  264. </returns>
  265. </member>
  266. <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Object)">
  267. <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object is equal to a specified object.</summary>
  268. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object, or null.</param>
  269. <returns>true if <paramref name="o">o</paramref> is an object with the same underlying type and value as this <see cref="System.Security.Principal.SecurityIdentifier"></see> object; otherwise, false.</returns>
  270. </member>
  271. <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Security.Principal.SecurityIdentifier)">
  272. <summary>Indicates whether the specified <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object is equal to the current <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</summary>
  273. <param name="sid">The object to compare with the current object.</param>
  274. <returns>true if the value of <paramref name="sid">sid</paramref> is equal to the value of the current <see cref="System.Security.Principal.SecurityIdentifier"></see> object.</returns>
  275. </member>
  276. <member name="M:System.Security.Principal.SecurityIdentifier.GetBinaryForm(System.Byte[],System.Int32)">
  277. <summary>Copies the binary representation of the specified security identifier (SID) represented by the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class to a byte array.</summary>
  278. <param name="binaryForm">The byte array to receive the copied SID.</param>
  279. <param name="offset">The byte offset to use as the starting index in binaryForm.</param>
  280. </member>
  281. <member name="M:System.Security.Principal.SecurityIdentifier.GetHashCode">
  282. <summary>Serves as a hash function for the current <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object. The <see cref="M:System.Security.Principal.SecurityIdentifier.GetHashCode"></see> method is suitable for hashing algorithms and data structures like a hash table.</summary>
  283. <returns>A hash value for the current <see cref="System.Security.Principal.SecurityIdentifier"></see> object.</returns>
  284. </member>
  285. <member name="M:System.Security.Principal.SecurityIdentifier.IsAccountSid">
  286. <summary>Returns a value that indicates whether the security identifier (SID) represented by this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object is a valid Windows account SID.</summary>
  287. <returns>true if the SID represented by this <see cref="System.Security.Principal.SecurityIdentifier"></see> object is a valid Windows account SID; otherwise, false.</returns>
  288. </member>
  289. <member name="M:System.Security.Principal.SecurityIdentifier.IsEqualDomainSid(System.Security.Principal.SecurityIdentifier)">
  290. <summary>Returns a value that indicates whether the security identifier (SID) represented by this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object is from the same domain as the specified SID.</summary>
  291. <param name="sid">The SID to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</param>
  292. <returns>true if the SID represented by this <see cref="System.Security.Principal.SecurityIdentifier"></see> object is in the same domain as the <paramref name="sid">sid</paramref> SID; otherwise, false.</returns>
  293. </member>
  294. <member name="M:System.Security.Principal.SecurityIdentifier.IsValidTargetType(System.Type)">
  295. <summary>Returns a value that indicates whether the specified type is a valid translation type for the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> class.</summary>
  296. <param name="targetType">The type being queried for validity to serve as a conversion from <see cref="T:System.Security.Principal.SecurityIdentifier"></see>. The following target types are valid:
  297. - <see cref="T:System.Security.Principal.NTAccount"></see>
  298. - <see cref="T:System.Security.Principal.SecurityIdentifier"></see></param>
  299. <returns>true if <paramref name="targetType">targetType</paramref> is a valid translation type for the <see cref="System.Security.Principal.SecurityIdentifier"></see> class; otherwise, false.</returns>
  300. </member>
  301. <member name="M:System.Security.Principal.SecurityIdentifier.IsWellKnown(System.Security.Principal.WellKnownSidType)">
  302. <summary>Returns a value that indicates whether the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object matches the specified well known security identifier (SID) type.</summary>
  303. <param name="type">A value to compare with the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</param>
  304. <returns>true if <paramref name="type">type</paramref> is the SID type for the <see cref="System.Security.Principal.SecurityIdentifier"></see> object; otherwise, false.</returns>
  305. </member>
  306. <member name="F:System.Security.Principal.SecurityIdentifier.MaxBinaryLength">
  307. <summary>Returns the maximum size, in bytes, of the binary representation of the security identifier.</summary>
  308. <returns></returns>
  309. </member>
  310. <member name="F:System.Security.Principal.SecurityIdentifier.MinBinaryLength">
  311. <summary>Returns the minimum size, in bytes, of the binary representation of the security identifier.</summary>
  312. <returns></returns>
  313. </member>
  314. <member name="M:System.Security.Principal.SecurityIdentifier.op_Equality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
  315. <summary>Compares two <see cref="T:System.Security.Principal.SecurityIdentifier"></see> objects to determine whether they are equal. They are considered equal if they have the same canonical representation as the one returned by the <see cref="P:System.Security.Principal.SecurityIdentifier.Value"></see> property or if they are both null.</summary>
  316. <param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
  317. <param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
  318. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are equal; otherwise, false.</returns>
  319. </member>
  320. <member name="M:System.Security.Principal.SecurityIdentifier.op_Inequality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
  321. <summary>Compares two <see cref="T:System.Security.Principal.SecurityIdentifier"></see> objects to determine whether they are not equal. They are considered not equal if they have different canonical name representations than the one returned by the <see cref="P:System.Security.Principal.SecurityIdentifier.Value"></see> property or if one of the objects is null and the other is not.</summary>
  322. <param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
  323. <param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
  324. <returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> are not equal; otherwise, false.</returns>
  325. </member>
  326. <member name="M:System.Security.Principal.SecurityIdentifier.ToString">
  327. <summary>Returns the security identifier (SID), in Security Descriptor Definition Language (SDDL) format, for the account represented by the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object. An example of the SDDL format is S-1-5-9.</summary>
  328. <returns>The SID, in SDDL format, for the account represented by the <see cref="System.Security.Principal.SecurityIdentifier"></see> object.</returns>
  329. </member>
  330. <member name="M:System.Security.Principal.SecurityIdentifier.Translate(System.Type)">
  331. <summary>Translates the account name represented by the <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object into another <see cref="T:System.Security.Principal.IdentityReference"></see>-derived type.</summary>
  332. <param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.SecurityIdentifier"></see>. The target type must be a type that is considered valid by the <see cref="M:System.Security.Principal.SecurityIdentifier.IsValidTargetType(System.Type)"></see> method.</param>
  333. <returns>The converted identity.</returns>
  334. <exception cref="T:System.ArgumentNullException"><paramref name="targetType">targetType</paramref> is null.</exception>
  335. <exception cref="T:System.ArgumentException"><paramref name="targetType">targetType</paramref> is not an <see cref="System.Security.Principal.IdentityReference"></see> type.</exception>
  336. <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
  337. <exception cref="T:System.SystemException">A Win32 error code was returned.</exception>
  338. </member>
  339. <member name="P:System.Security.Principal.SecurityIdentifier.Value">
  340. <summary>Returns an uppercase Security Descriptor Definition Language (SDDL) string for the security identifier (SID) represented by this <see cref="T:System.Security.Principal.SecurityIdentifier"></see> object.</summary>
  341. <returns>An uppercase SDDL string for the SID represented by the <see cref="System.Security.Principal.SecurityIdentifier"></see> object.</returns>
  342. </member>
  343. <member name="T:System.Security.Principal.TokenAccessLevels">
  344. <summary>Defines the privileges of the user account associated with the access token.</summary>
  345. </member>
  346. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustDefault">
  347. <summary>The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.</summary>
  348. <returns></returns>
  349. </member>
  350. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustGroups">
  351. <summary>The user can change the attributes of the groups in the token.</summary>
  352. <returns></returns>
  353. </member>
  354. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges">
  355. <summary>The user can enable or disable privileges in the token.</summary>
  356. <returns></returns>
  357. </member>
  358. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustSessionId">
  359. <summary>The user can adjust the session identifier of the token.</summary>
  360. <returns></returns>
  361. </member>
  362. <member name="F:System.Security.Principal.TokenAccessLevels.AllAccess">
  363. <summary>The user has all possible access to the token.</summary>
  364. <returns></returns>
  365. </member>
  366. <member name="F:System.Security.Principal.TokenAccessLevels.AssignPrimary">
  367. <summary>The user can attach a primary token to a process.</summary>
  368. <returns></returns>
  369. </member>
  370. <member name="F:System.Security.Principal.TokenAccessLevels.Duplicate">
  371. <summary>The user can duplicate the token.</summary>
  372. <returns></returns>
  373. </member>
  374. <member name="F:System.Security.Principal.TokenAccessLevels.Impersonate">
  375. <summary>The user can impersonate a client.</summary>
  376. <returns></returns>
  377. </member>
  378. <member name="F:System.Security.Principal.TokenAccessLevels.MaximumAllowed">
  379. <summary>The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels"></see> enumeration.</summary>
  380. <returns></returns>
  381. </member>
  382. <member name="F:System.Security.Principal.TokenAccessLevels.Query">
  383. <summary>The user can query the token.</summary>
  384. <returns></returns>
  385. </member>
  386. <member name="F:System.Security.Principal.TokenAccessLevels.QuerySource">
  387. <summary>The user can query the source of the token.</summary>
  388. <returns></returns>
  389. </member>
  390. <member name="F:System.Security.Principal.TokenAccessLevels.Read">
  391. <summary>The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query"></see> privilege for the token.</summary>
  392. <returns></returns>
  393. </member>
  394. <member name="F:System.Security.Principal.TokenAccessLevels.Write">
  395. <summary>The user has standard write rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges"></see>, <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustGroups"></see> and <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustDefault"></see> privileges for the token.</summary>
  396. <returns></returns>
  397. </member>
  398. <member name="T:System.Security.Principal.WellKnownSidType">
  399. <summary>Defines a set of commonly used security identifiers (SIDs).</summary>
  400. </member>
  401. <member name="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid">
  402. <summary>Indicates a SID that matches the account administrators group.</summary>
  403. <returns></returns>
  404. </member>
  405. <member name="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid">
  406. <summary>Indicates a SID that matches the certificate administrators group.</summary>
  407. <returns></returns>
  408. </member>
  409. <member name="F:System.Security.Principal.WellKnownSidType.AccountComputersSid">
  410. <summary>Indicates a SID that matches the account computer group.</summary>
  411. <returns></returns>
  412. </member>
  413. <member name="F:System.Security.Principal.WellKnownSidType.AccountControllersSid">
  414. <summary>Indicates a SID that matches the account controller group.</summary>
  415. <returns></returns>
  416. </member>
  417. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid">
  418. <summary>Indicates a SID that matches the account domain administrator group.</summary>
  419. <returns></returns>
  420. </member>
  421. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid">
  422. <summary>Indicates a SID that matches the account domain guests group.</summary>
  423. <returns></returns>
  424. </member>
  425. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid">
  426. <summary>Indicates a SID that matches the account domain users group.</summary>
  427. <returns></returns>
  428. </member>
  429. <member name="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid">
  430. <summary>Indicates a SID that matches the enterprise administrators group.</summary>
  431. <returns></returns>
  432. </member>
  433. <member name="F:System.Security.Principal.WellKnownSidType.AccountGuestSid">
  434. <summary>Indicates a SID that matches the account guest group.</summary>
  435. <returns></returns>
  436. </member>
  437. <member name="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid">
  438. <summary>Indicates a SID that matches the account Kerberos target group.</summary>
  439. <returns></returns>
  440. </member>
  441. <member name="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid">
  442. <summary>Indicates a SID that matches the policy administrators group.</summary>
  443. <returns></returns>
  444. </member>
  445. <member name="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid">
  446. <summary>Indicates a SID that matches the RAS and IAS server account.</summary>
  447. <returns></returns>
  448. </member>
  449. <member name="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid">
  450. <summary>Indicates a SID that matches the schema administrators group.</summary>
  451. <returns></returns>
  452. </member>
  453. <member name="F:System.Security.Principal.WellKnownSidType.AnonymousSid">
  454. <summary>Indicates a SID for the anonymous account.</summary>
  455. <returns></returns>
  456. </member>
  457. <member name="F:System.Security.Principal.WellKnownSidType.AuthenticatedUserSid">
  458. <summary>Indicates a SID for an authenticated user.</summary>
  459. <returns></returns>
  460. </member>
  461. <member name="F:System.Security.Principal.WellKnownSidType.BatchSid">
  462. <summary>Indicates a SID for a batch process. This SID is added to the process of a token when it logs on as a batch job.</summary>
  463. <returns></returns>
  464. </member>
  465. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAccountOperatorsSid">
  466. <summary>Indicates a SID that matches the account operators account.</summary>
  467. <returns></returns>
  468. </member>
  469. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAdministratorsSid">
  470. <summary>Indicates a SID that matches the administrator account.</summary>
  471. <returns></returns>
  472. </member>
  473. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAuthorizationAccessSid">
  474. <summary>Indicates a SID that matches the Windows Authorization Access group.</summary>
  475. <returns></returns>
  476. </member>
  477. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinBackupOperatorsSid">
  478. <summary>Indicates a SID that matches the backup operators group.</summary>
  479. <returns></returns>
  480. </member>
  481. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinDomainSid">
  482. <summary>Indicates a SID that matches the domain account.</summary>
  483. <returns></returns>
  484. </member>
  485. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinGuestsSid">
  486. <summary>Indicates a SID that matches the guest account.</summary>
  487. <returns></returns>
  488. </member>
  489. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinIncomingForestTrustBuildersSid">
  490. <summary>Indicates a SID that allows a user to create incoming forest trusts. It is added to the token of users who are a member of the Incoming Forest Trust Builders built-in group in the root domain of the forest.</summary>
  491. <returns></returns>
  492. </member>
  493. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinNetworkConfigurationOperatorsSid">
  494. <summary>Indicates a SID that matches the network operators group.</summary>
  495. <returns></returns>
  496. </member>
  497. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceLoggingUsersSid">
  498. <summary>Indicates a SID that matches the group of users that have remote access to monitor the computer.</summary>
  499. <returns></returns>
  500. </member>
  501. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceMonitoringUsersSid">
  502. <summary>Indicates a SID that matches the group of users that have remote access to schedule logging of performance counters on this computer.</summary>
  503. <returns></returns>
  504. </member>
  505. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPowerUsersSid">
  506. <summary>Indicates a SID that matches the power users group.</summary>
  507. <returns></returns>
  508. </member>
  509. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPreWindows2000CompatibleAccessSid">
  510. <summary>Indicates a SID that matches pre-Windows 2000 compatible accounts.</summary>
  511. <returns></returns>
  512. </member>
  513. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPrintOperatorsSid">
  514. <summary>Indicates a SID that matches the print operators group.</summary>
  515. <returns></returns>
  516. </member>
  517. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinRemoteDesktopUsersSid">
  518. <summary>Indicates a SID that matches remote desktop users.</summary>
  519. <returns></returns>
  520. </member>
  521. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinReplicatorSid">
  522. <summary>Indicates a SID that matches the replicator account.</summary>
  523. <returns></returns>
  524. </member>
  525. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinSystemOperatorsSid">
  526. <summary>Indicates a SID that matches the system operators group.</summary>
  527. <returns></returns>
  528. </member>
  529. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinUsersSid">
  530. <summary>Indicates a SID that matches built-in user accounts.</summary>
  531. <returns></returns>
  532. </member>
  533. <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupServerSid">
  534. <summary>Indicates a creator group server SID.</summary>
  535. <returns></returns>
  536. </member>
  537. <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupSid">
  538. <summary>Indicates a SID that matches the creator group of an object.</summary>
  539. <returns></returns>
  540. </member>
  541. <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerServerSid">
  542. <summary>Indicates a creator owner server SID.</summary>
  543. <returns></returns>
  544. </member>
  545. <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerSid">
  546. <summary>Indicates a SID that matches the owner or creator of an object.</summary>
  547. <returns></returns>
  548. </member>
  549. <member name="F:System.Security.Principal.WellKnownSidType.DialupSid">
  550. <summary>Indicates a SID for a dial-up account.</summary>
  551. <returns></returns>
  552. </member>
  553. <member name="F:System.Security.Principal.WellKnownSidType.DigestAuthenticationSid">
  554. <summary>Indicates a SID present when the Microsoft Digest authentication package authenticated the client.</summary>
  555. <returns></returns>
  556. </member>
  557. <member name="F:System.Security.Principal.WellKnownSidType.EnterpriseControllersSid">
  558. <summary>Indicates a SID for an enterprise controller.</summary>
  559. <returns></returns>
  560. </member>
  561. <member name="F:System.Security.Principal.WellKnownSidType.InteractiveSid">
  562. <summary>Indicates a SID for an interactive account. This SID is added to the process of a token when it logs on interactively.</summary>
  563. <returns></returns>
  564. </member>
  565. <member name="F:System.Security.Principal.WellKnownSidType.LocalServiceSid">
  566. <summary>Indicates a SID that matches a local service.</summary>
  567. <returns></returns>
  568. </member>
  569. <member name="F:System.Security.Principal.WellKnownSidType.LocalSid">
  570. <summary>Indicates a local SID.</summary>
  571. <returns></returns>
  572. </member>
  573. <member name="F:System.Security.Principal.WellKnownSidType.LocalSystemSid">
  574. <summary>Indicates a SID that matches the local system.</summary>
  575. <returns></returns>
  576. </member>
  577. <member name="F:System.Security.Principal.WellKnownSidType.LogonIdsSid">
  578. <summary>Indicates a SID that matches logon IDs.</summary>
  579. <returns></returns>
  580. </member>
  581. <member name="F:System.Security.Principal.WellKnownSidType.MaxDefined">
  582. <summary>Indicates the maximum defined SID in the <see cref="T:System.Security.Principal.WellKnownSidType"></see> enumeration.</summary>
  583. <returns></returns>
  584. </member>
  585. <member name="F:System.Security.Principal.WellKnownSidType.NetworkServiceSid">
  586. <summary>Indicates a SID that matches a network service.</summary>
  587. <returns></returns>
  588. </member>
  589. <member name="F:System.Security.Principal.WellKnownSidType.NetworkSid">
  590. <summary>Indicates a SID for a network account. This SID is added to the process of a token when it logs on across a network.</summary>
  591. <returns></returns>
  592. </member>
  593. <member name="F:System.Security.Principal.WellKnownSidType.NTAuthoritySid">
  594. <summary>Indicates a SID for the Windows NT authority.</summary>
  595. <returns></returns>
  596. </member>
  597. <member name="F:System.Security.Principal.WellKnownSidType.NtlmAuthenticationSid">
  598. <summary>Indicates a SID present when the Microsoft NTLM authentication package authenticated the client.</summary>
  599. <returns></returns>
  600. </member>
  601. <member name="F:System.Security.Principal.WellKnownSidType.NullSid">
  602. <summary>Indicates a null SID.</summary>
  603. <returns></returns>
  604. </member>
  605. <member name="F:System.Security.Principal.WellKnownSidType.OtherOrganizationSid">
  606. <summary>Indicates a SID present when the user authenticated across a forest with the selective authentication option enabled. If this SID is present, then <see cref="F:System.Security.Principal.WellKnownSidType.ThisOrganizationSid"></see> cannot be present.</summary>
  607. <returns></returns>
  608. </member>
  609. <member name="F:System.Security.Principal.WellKnownSidType.ProxySid">
  610. <summary>Indicates a proxy SID.</summary>
  611. <returns></returns>
  612. </member>
  613. <member name="F:System.Security.Principal.WellKnownSidType.RemoteLogonIdSid">
  614. <summary>Indicates a SID that matches remote logons.</summary>
  615. <returns></returns>
  616. </member>
  617. <member name="F:System.Security.Principal.WellKnownSidType.RestrictedCodeSid">
  618. <summary>Indicates a SID for restricted code.</summary>
  619. <returns></returns>
  620. </member>
  621. <member name="F:System.Security.Principal.WellKnownSidType.SChannelAuthenticationSid">
  622. <summary>Indicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client.</summary>
  623. <returns></returns>
  624. </member>
  625. <member name="F:System.Security.Principal.WellKnownSidType.SelfSid">
  626. <summary>Indicates a SID for self.</summary>
  627. <returns></returns>
  628. </member>
  629. <member name="F:System.Security.Principal.WellKnownSidType.ServiceSid">
  630. <summary>Indicates a SID for a service. This SID is added to the process of a token when it logs on as a service.</summary>
  631. <returns></returns>
  632. </member>
  633. <member name="F:System.Security.Principal.WellKnownSidType.TerminalServerSid">
  634. <summary>Indicates a SID that matches a terminal server account.</summary>
  635. <returns></returns>
  636. </member>
  637. <member name="F:System.Security.Principal.WellKnownSidType.ThisOrganizationSid">
  638. <summary>Indicates a SID present when the user authenticated from within the forest or across a trust that does not have the selective authentication option enabled. If this SID is present, then <see cref="F:System.Security.Principal.WellKnownSidType.OtherOrganizationSid"></see> cannot be present.</summary>
  639. <returns></returns>
  640. </member>
  641. <member name="F:System.Security.Principal.WellKnownSidType.WinAccountReadonlyControllersSid">
  642. <returns></returns>
  643. </member>
  644. <member name="F:System.Security.Principal.WellKnownSidType.WinApplicationPackageAuthoritySid">
  645. <returns></returns>
  646. </member>
  647. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinAnyPackageSid">
  648. <returns></returns>
  649. </member>
  650. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinCertSvcDComAccessGroup">
  651. <returns></returns>
  652. </member>
  653. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinCryptoOperatorsSid">
  654. <returns></returns>
  655. </member>
  656. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinDCOMUsersSid">
  657. <returns></returns>
  658. </member>
  659. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinEventLogReadersGroup">
  660. <returns></returns>
  661. </member>
  662. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinIUsersSid">
  663. <returns></returns>
  664. </member>
  665. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinTerminalServerLicenseServersSid">
  666. <summary>Indicates a SID is present in a server that can issue Terminal Server licenses.</summary>
  667. <returns></returns>
  668. </member>
  669. <member name="F:System.Security.Principal.WellKnownSidType.WinCacheablePrincipalsGroupSid">
  670. <returns></returns>
  671. </member>
  672. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityDocumentsLibrarySid">
  673. <returns></returns>
  674. </member>
  675. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityEnterpriseAuthenticationSid">
  676. <returns></returns>
  677. </member>
  678. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityInternetClientServerSid">
  679. <returns></returns>
  680. </member>
  681. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityInternetClientSid">
  682. <returns></returns>
  683. </member>
  684. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityMusicLibrarySid">
  685. <returns></returns>
  686. </member>
  687. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityPicturesLibrarySid">
  688. <returns></returns>
  689. </member>
  690. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityPrivateNetworkClientServerSid">
  691. <returns></returns>
  692. </member>
  693. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityRemovableStorageSid">
  694. <returns></returns>
  695. </member>
  696. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilitySharedUserCertificatesSid">
  697. <returns></returns>
  698. </member>
  699. <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityVideosLibrarySid">
  700. <returns></returns>
  701. </member>
  702. <member name="F:System.Security.Principal.WellKnownSidType.WinConsoleLogonSid">
  703. <returns></returns>
  704. </member>
  705. <member name="F:System.Security.Principal.WellKnownSidType.WinCreatorOwnerRightsSid">
  706. <returns></returns>
  707. </member>
  708. <member name="F:System.Security.Principal.WellKnownSidType.WinEnterpriseReadonlyControllersSid">
  709. <returns></returns>
  710. </member>
  711. <member name="F:System.Security.Principal.WellKnownSidType.WinHighLabelSid">
  712. <returns></returns>
  713. </member>
  714. <member name="F:System.Security.Principal.WellKnownSidType.WinIUserSid">
  715. <returns></returns>
  716. </member>
  717. <member name="F:System.Security.Principal.WellKnownSidType.WinLocalLogonSid">
  718. <returns></returns>
  719. </member>
  720. <member name="F:System.Security.Principal.WellKnownSidType.WinLowLabelSid">
  721. <returns></returns>
  722. </member>
  723. <member name="F:System.Security.Principal.WellKnownSidType.WinMediumLabelSid">
  724. <returns></returns>
  725. </member>
  726. <member name="F:System.Security.Principal.WellKnownSidType.WinMediumPlusLabelSid">
  727. <returns></returns>
  728. </member>
  729. <member name="F:System.Security.Principal.WellKnownSidType.WinNewEnterpriseReadonlyControllersSid">
  730. <returns></returns>
  731. </member>
  732. <member name="F:System.Security.Principal.WellKnownSidType.WinNonCacheablePrincipalsGroupSid">
  733. <returns></returns>
  734. </member>
  735. <member name="F:System.Security.Principal.WellKnownSidType.WinSystemLabelSid">
  736. <returns></returns>
  737. </member>
  738. <member name="F:System.Security.Principal.WellKnownSidType.WinThisOrganizationCertificateSid">
  739. <returns></returns>
  740. </member>
  741. <member name="F:System.Security.Principal.WellKnownSidType.WinUntrustedLabelSid">
  742. <returns></returns>
  743. </member>
  744. <member name="F:System.Security.Principal.WellKnownSidType.WinWriteRestrictedCodeSid">
  745. <returns></returns>
  746. </member>
  747. <member name="F:System.Security.Principal.WellKnownSidType.WorldSid">
  748. <summary>Indicates a SID that matches everyone.</summary>
  749. <returns></returns>
  750. </member>
  751. <member name="T:System.Security.Principal.WindowsBuiltInRole">
  752. <summary>Specifies common roles to be used with <see cref="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)"></see>.</summary>
  753. </member>
  754. <member name="F:System.Security.Principal.WindowsBuiltInRole.AccountOperator">
  755. <summary>Account operators manage the user accounts on a computer or domain.</summary>
  756. <returns></returns>
  757. </member>
  758. <member name="F:System.Security.Principal.WindowsBuiltInRole.Administrator">
  759. <summary>Administrators have complete and unrestricted access to the computer or domain.</summary>
  760. <returns></returns>
  761. </member>
  762. <member name="F:System.Security.Principal.WindowsBuiltInRole.BackupOperator">
  763. <summary>Backup operators can override security restrictions for the sole purpose of backing up or restoring files.</summary>
  764. <returns></returns>
  765. </member>
  766. <member name="F:System.Security.Principal.WindowsBuiltInRole.Guest">
  767. <summary>Guests are more restricted than users.</summary>
  768. <returns></returns>
  769. </member>
  770. <member name="F:System.Security.Principal.WindowsBuiltInRole.PowerUser">
  771. <summary>Power users possess most administrative permissions with some restrictions. Thus, power users can run legacy applications, in addition to certified applications.</summary>
  772. <returns></returns>
  773. </member>
  774. <member name="F:System.Security.Principal.WindowsBuiltInRole.PrintOperator">
  775. <summary>Print operators can take control of a printer.</summary>
  776. <returns></returns>
  777. </member>
  778. <member name="F:System.Security.Principal.WindowsBuiltInRole.Replicator">
  779. <summary>Replicators support file replication in a domain.</summary>
  780. <returns></returns>
  781. </member>
  782. <member name="F:System.Security.Principal.WindowsBuiltInRole.SystemOperator">
  783. <summary>System operators manage a particular computer.</summary>
  784. <returns></returns>
  785. </member>
  786. <member name="F:System.Security.Principal.WindowsBuiltInRole.User">
  787. <summary>Users are prevented from making accidental or intentional system-wide changes. Thus, users can run certified applications, but not most legacy applications.</summary>
  788. <returns></returns>
  789. </member>
  790. <member name="T:System.Security.Principal.WindowsIdentity">
  791. <summary>Represents a Windows user.</summary>
  792. </member>
  793. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr)">
  794. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.WindowsIdentity"></see> class for the user represented by the specified Windows account token.</summary>
  795. <param name="userToken">The account token for the user on whose behalf the code is running.</param>
  796. <exception cref="T:System.ArgumentException"><paramref name="userToken">userToken</paramref> is 0.
  797. -or-
  798. <paramref name="userToken">userToken</paramref> is duplicated and invalid for impersonation.</exception>
  799. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
  800. -or-
  801. A Win32 error occurred.</exception>
  802. </member>
  803. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.String)">
  804. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.WindowsIdentity"></see> class for the user represented by the specified User Principal Name (UPN).</summary>
  805. <param name="sUserPrincipalName">The UPN for the user on whose behalf the code is running.</param>
  806. <exception cref="T:System.UnauthorizedAccessException">Windows returned the Windows NT status code STATUS_ACCESS_DENIED.</exception>
  807. <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
  808. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
  809. -or-
  810. The computer is not attached to a Windows 2003 or later domain.
  811. -or-
  812. The computer is not running Windows 2003 or later.
  813. -or-
  814. The user is not a member of the domain the computer is attached to.</exception>
  815. </member>
  816. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String)">
  817. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.WindowsIdentity"></see> class for the user represented by the specified Windows account token and the specified authentication type.</summary>
  818. <param name="userToken">The account token for the user on whose behalf the code is running.</param>
  819. <param name="type">(Informational use only.) The type of authentication used to identify the user.</param>
  820. <exception cref="T:System.ArgumentException"><paramref name="userToken">userToken</paramref> is 0.
  821. -or-
  822. <paramref name="userToken">userToken</paramref> is duplicated and invalid for impersonation.</exception>
  823. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
  824. -or-
  825. A Win32 error occurred.</exception>
  826. </member>
  827. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  828. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.WindowsIdentity"></see> class for the user represented by information in a <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> stream.</summary>
  829. <param name="info">The object containing the account information for the user.</param>
  830. <param name="context">An object that indicates the stream characteristics.</param>
  831. <exception cref="T:System.NotSupportedException">A <see cref="System.Security.Principal.WindowsIdentity"></see> cannot be serialized across processes.</exception>
  832. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
  833. -or-
  834. A Win32 error occurred.</exception>
  835. </member>
  836. <member name="P:System.Security.Principal.WindowsIdentity.AccessToken">
  837. <summary>Gets this <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle"></see> for this <see cref="T:System.Security.Principal.WindowsIdentity"></see> instance.</summary>
  838. <returns>Returns a <see cref="Microsoft.Win32.SafeHandles.SafeAccessTokenHandle"></see>.</returns>
  839. </member>
  840. <member name="P:System.Security.Principal.WindowsIdentity.AuthenticationType">
  841. <summary>Gets the type of authentication used to identify the user.</summary>
  842. <returns>The type of authentication used to identify the user.</returns>
  843. <exception cref="T:System.UnauthorizedAccessException">Windows returned the Windows NT status code STATUS_ACCESS_DENIED.</exception>
  844. <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
  845. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
  846. -or-
  847. The computer is not attached to a Windows 2003 or later domain.
  848. -or-
  849. The computer is not running Windows 2003 or later.
  850. -or-
  851. The user is not a member of the domain the computer is attached to.</exception>
  852. </member>
  853. <member name="P:System.Security.Principal.WindowsIdentity.Claims">
  854. <summary>Gets all claims for the user represented by this Windows identity.</summary>
  855. <returns>A collection of claims for this <see cref="System.Security.Principal.WindowsIdentity"></see> object.</returns>
  856. </member>
  857. <member name="M:System.Security.Principal.WindowsIdentity.Clone">
  858. <summary>Creates a new object that is a copy of the current instance.</summary>
  859. <returns>A copy of the current instance.</returns>
  860. </member>
  861. <member name="F:System.Security.Principal.WindowsIdentity.DefaultIssuer">
  862. <summary>Identifies the name of the default <see cref="T:System.Security.Claims.ClaimsIdentity"></see> issuer.</summary>
  863. <returns></returns>
  864. </member>
  865. <member name="M:System.Security.Principal.WindowsIdentity.Dispose">
  866. <summary>Releases all resources used by the <see cref="T:System.Security.Principal.WindowsIdentity"></see>.</summary>
  867. </member>
  868. <member name="M:System.Security.Principal.WindowsIdentity.Dispose(System.Boolean)">
  869. <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Principal.WindowsIdentity"></see> and optionally releases the managed resources.</summary>
  870. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
  871. </member>
  872. <member name="M:System.Security.Principal.WindowsIdentity.GetAnonymous">
  873. <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity"></see> object that you can use as a sentinel value in your code to represent an anonymous user. The property value does not represent the built-in anonymous identity used by the Windows operating system.</summary>
  874. <returns>An object that represents an anonymous user.</returns>
  875. </member>
  876. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Security.Principal.TokenAccessLevels)">
  877. <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity"></see> object that represents the current Windows user, using the specified desired token access level.</summary>
  878. <param name="desiredAccess">A bitwise combination of the enumeration values.</param>
  879. <returns>An object that represents the current user.</returns>
  880. </member>
  881. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Boolean)">
  882. <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity"></see> object that represents the Windows identity for either the thread or the process, depending on the value of the <paramref name="ifImpersonating">ifImpersonating</paramref> parameter.</summary>
  883. <param name="ifImpersonating">true to return the <see cref="T:System.Security.Principal.WindowsIdentity"></see> only if the thread is currently impersonating; false to return the <see cref="T:System.Security.Principal.WindowsIdentity"></see> of the thread if it is impersonating or the <see cref="T:System.Security.Principal.WindowsIdentity"></see> of the process if the thread is not currently impersonating.</param>
  884. <returns>An object that represents a Windows user.</returns>
  885. </member>
  886. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent">
  887. <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity"></see> object that represents the current Windows user.</summary>
  888. <returns>An object that represents the current user.</returns>
  889. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.</exception>
  890. </member>
  891. <member name="P:System.Security.Principal.WindowsIdentity.Groups">
  892. <summary>Gets the groups the current Windows user belongs to.</summary>
  893. <returns>An object representing the groups the current Windows user belongs to.</returns>
  894. </member>
  895. <member name="P:System.Security.Principal.WindowsIdentity.ImpersonationLevel">
  896. <summary>Gets the impersonation level for the user.</summary>
  897. <returns>One of the enumeration values that specifies the impersonation level.</returns>
  898. </member>
  899. <member name="P:System.Security.Principal.WindowsIdentity.IsAnonymous">
  900. <summary>Gets a value that indicates whether the user account is identified as an anonymous account by the system.</summary>
  901. <returns>true if the user account is an anonymous account; otherwise, false.</returns>
  902. </member>
  903. <member name="P:System.Security.Principal.WindowsIdentity.IsAuthenticated">
  904. <summary>Gets a value indicating whether the user has been authenticated by Windows.</summary>
  905. <returns>true if the user was authenticated; otherwise, false.</returns>
  906. </member>
  907. <member name="P:System.Security.Principal.WindowsIdentity.IsGuest">
  908. <summary>Gets a value indicating whether the user account is identified as a <see cref="F:System.Security.Principal.WindowsAccountType.Guest"></see> account by the system.</summary>
  909. <returns>true if the user account is a <see cref="System.Security.Principal.WindowsAccountType.Guest"></see> account; otherwise, false.</returns>
  910. </member>
  911. <member name="P:System.Security.Principal.WindowsIdentity.IsSystem">
  912. <summary>Gets a value indicating whether the user account is identified as a <see cref="F:System.Security.Principal.WindowsAccountType.System"></see> account by the system.</summary>
  913. <returns>true if the user account is a <see cref="System.Security.Principal.WindowsAccountType.System"></see> account; otherwise, false.</returns>
  914. </member>
  915. <member name="P:System.Security.Principal.WindowsIdentity.Name">
  916. <summary>Gets the user&amp;#39;s Windows logon name.</summary>
  917. <returns>The Windows logon name of the user on whose behalf the code is being run.</returns>
  918. </member>
  919. <member name="P:System.Security.Principal.WindowsIdentity.Owner">
  920. <summary>Gets the security identifier (SID) for the token owner.</summary>
  921. <returns>An object for the token owner.</returns>
  922. </member>
  923. <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)">
  924. <summary>Runs the specified action as the impersonated Windows identity. Instead of using an impersonated method call and running your function in <see cref="T:System.Security.Principal.WindowsImpersonationContext"></see>, you can use <see cref="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)"></see> and provide your function directly as a parameter.</summary>
  925. <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
  926. <param name="action">The System.Action to run.</param>
  927. </member>
  928. <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated``1(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{``0})">
  929. <summary>Runs the specified function as the impersonated Windows identity. Instead of using an impersonated method call and running your function in <see cref="T:System.Security.Principal.WindowsImpersonationContext"></see>, you can use <see cref="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)"></see> and provide your function directly as a parameter.</summary>
  930. <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
  931. <param name="func">The System.Func to run.</param>
  932. <typeparam name="T">The type of object used by and returned by the function.</typeparam>
  933. <returns>Returns the result of the function.</returns>
  934. </member>
  935. <member name="P:System.Security.Principal.WindowsIdentity.Token">
  936. <summary>Gets the Windows account token for the user.</summary>
  937. <returns>The handle of the access token associated with the current execution thread.</returns>
  938. </member>
  939. <member name="P:System.Security.Principal.WindowsIdentity.User">
  940. <summary>Gets the security identifier (SID) for the user.</summary>
  941. <returns>An object for the user.</returns>
  942. </member>
  943. <member name="M:System.Security.Principal.WindowsIdentity.System#Runtime#Serialization#IDeserializationCallback#OnDeserialization(System.Object)">
  944. <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable"></see> interface and is called back by the deserialization event when deserialization is complete.</summary>
  945. <param name="sender">The source of the deserialization event.</param>
  946. </member>
  947. <member name="M:System.Security.Principal.WindowsIdentity.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  948. <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> object with the logical context information needed to recreate an instance of this execution context.</summary>
  949. <param name="info">An object containing the information required to serialize the <see cref="T:System.Collections.Hashtable"></see>.</param>
  950. <param name="context">An object containing the source and destination of the serialized stream associated with the <see cref="T:System.Collections.Hashtable"></see>.</param>
  951. </member>
  952. <member name="T:System.Security.Principal.WindowsPrincipal">
  953. <summary>Enables code to check the Windows group membership of a Windows user.</summary>
  954. </member>
  955. <member name="M:System.Security.Principal.WindowsPrincipal.#ctor(System.Security.Principal.WindowsIdentity)">
  956. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.WindowsPrincipal"></see> class by using the specified <see cref="T:System.Security.Principal.WindowsIdentity"></see> object.</summary>
  957. <param name="ntIdentity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.WindowsPrincipal"></see>.</param>
  958. <exception cref="T:System.ArgumentNullException"><paramref name="ntIdentity">ntIdentity</paramref> is null.</exception>
  959. </member>
  960. <member name="P:System.Security.Principal.WindowsPrincipal.Identity">
  961. <summary>Gets the identity of the current principal.</summary>
  962. <returns>The <see cref="System.Security.Principal.WindowsIdentity"></see> object of the current principal.</returns>
  963. </member>
  964. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Int32)">
  965. <summary>Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).</summary>
  966. <param name="rid">The RID of the Windows user group in which to check for the principal’s membership status.</param>
  967. <returns>true if the current principal is a member of the specified Windows user group, that is, in a particular role; otherwise, false.</returns>
  968. </member>
  969. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.SecurityIdentifier)">
  970. <summary>Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).</summary>
  971. <param name="sid">A <see cref="T:System.Security.Principal.SecurityIdentifier"></see> that uniquely identifies a Windows user group.</param>
  972. <returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
  973. <exception cref="T:System.ArgumentNullException"><paramref name="sid">sid</paramref> is null.</exception>
  974. <exception cref="T:System.Security.SecurityException">Windows returned a Win32 error.</exception>
  975. </member>
  976. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.WindowsBuiltInRole)">
  977. <summary>Determines whether the current principal belongs to the Windows user group with the specified <see cref="T:System.Security.Principal.WindowsBuiltInRole"></see>.</summary>
  978. <param name="role">One of the <see cref="T:System.Security.Principal.WindowsBuiltInRole"></see> values.</param>
  979. <returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
  980. <exception cref="T:System.ArgumentException"><paramref name="role">role</paramref> is not a valid <see cref="System.Security.Principal.WindowsBuiltInRole"></see> value.</exception>
  981. </member>
  982. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)">
  983. <summary>Determines whether the current principal belongs to the Windows user group with the specified name.</summary>
  984. <param name="role">The name of the Windows user group for which to check membership.</param>
  985. <returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
  986. </member>
  987. <member name="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle">
  988. <summary>Provides a safe handle to a Windows thread or process access token. For more information see Access Tokens</summary>
  989. </member>
  990. <member name="M:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.#ctor(System.IntPtr)">
  991. <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle"></see> class.</summary>
  992. <param name="handle">An <see cref="T:System.IntPtr"></see> object that represents the pre-existing handle to use. Using <see cref="F:System.IntPtr.Zero"></see> returns an invalid handle.</param>
  993. </member>
  994. <member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.InvalidHandle">
  995. <summary>Returns an invalid handle by instantiating a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle"></see> object with <see cref="F:System.IntPtr.Zero"></see>.</summary>
  996. <returns>Returns a <see cref="Microsoft.Win32.SafeHandles.SafeAccessTokenHandle"></see> object.</returns>
  997. </member>
  998. <member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.IsInvalid">
  999. <summary>Gets a value that indicates whether the handle is invalid.</summary>
  1000. <returns>true if the handle is not valid; otherwise, false.</returns>
  1001. </member>
  1002. </members>
  1003. </doc>