System.Security.Principal.Windows.xml 88 KB

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