System.Security.Principal.Windows.xml 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  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>[SECURITY CRITICAL] 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>[SECURITY CRITICAL] 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>[SECURITY CRITICAL] 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>[SECURITY CRITICAL] Gets a value that indicates whether the handle is invalid.</summary>
  20. <returns>true if the handle is not valid; otherwise, false.</returns>
  21. </member>
  22. <member name="T:System.Security.Principal.IdentityNotMappedException">
  23. <summary>Represents an exception for a principal whose identity could not be mapped to a known identity.</summary>
  24. </member>
  25. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor">
  26. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class.</summary>
  27. </member>
  28. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String)">
  29. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class by using the specified error message.</summary>
  30. <param name="message">The error message that explains the reason for the exception.</param>
  31. </member>
  32. <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String,System.Exception)">
  33. <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>
  34. <param name="message">The error message that explains the reason for the exception.</param>
  35. <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 catch block that handles the inner exception.</param>
  36. </member>
  37. <member name="P:System.Security.Principal.IdentityNotMappedException.UnmappedIdentities">
  38. <summary>Represents the collection of unmapped identities for an <see cref="T:System.Security.Principal.IdentityNotMappedException" /> exception.</summary>
  39. <returns>The collection of unmapped identities.</returns>
  40. </member>
  41. <member name="T:System.Security.Principal.IdentityReference">
  42. <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>
  43. </member>
  44. <member name="M:System.Security.Principal.IdentityReference.Equals(System.Object)">
  45. <summary>Returns a value that indicates whether the specified object equals this instance of the <see cref="T:System.Security.Principal.IdentityReference" /> class.</summary>
  46. <returns>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, false.</returns>
  47. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.IdentityReference" /> instance, or a null reference.</param>
  48. </member>
  49. <member name="M:System.Security.Principal.IdentityReference.GetHashCode">
  50. <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>
  51. <returns>The hash code for this <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
  52. </member>
  53. <member name="M:System.Security.Principal.IdentityReference.IsValidTargetType(System.Type)">
  54. <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>
  55. <returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.IdentityReference" /> class; otherwise, false.</returns>
  56. <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:<see cref="T:System.Security.Principal.NTAccount" /><see cref="T:System.Security.Principal.SecurityIdentifier" /></param>
  57. </member>
  58. <member name="M:System.Security.Principal.IdentityReference.op_Equality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
  59. <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 null.</summary>
  60. <returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, false.</returns>
  61. <param name="left">The left <see cref="T:System.Security.Principal.IdentityReference" /> operand to use for the equality comparison. This parameter can be null.</param>
  62. <param name="right">The right <see cref="T:System.Security.Principal.IdentityReference" /> operand to use for the equality comparison. This parameter can be null.</param>
  63. </member>
  64. <member name="M:System.Security.Principal.IdentityReference.op_Inequality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
  65. <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 null and the other is not.</summary>
  66. <returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, false.</returns>
  67. <param name="left">The left <see cref="T:System.Security.Principal.IdentityReference" /> operand to use for the inequality comparison. This parameter can be null.</param>
  68. <param name="right">The right <see cref="T:System.Security.Principal.IdentityReference" /> operand to use for the inequality comparison. This parameter can be null.</param>
  69. </member>
  70. <member name="M:System.Security.Principal.IdentityReference.ToString">
  71. <summary>Returns the string representation of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
  72. <returns>The identity in string format.</returns>
  73. </member>
  74. <member name="M:System.Security.Principal.IdentityReference.Translate(System.Type)">
  75. <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>
  76. <returns>The converted identity.</returns>
  77. <param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.IdentityReference" />. </param>
  78. </member>
  79. <member name="P:System.Security.Principal.IdentityReference.Value">
  80. <summary>Gets the string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
  81. <returns>The string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
  82. </member>
  83. <member name="T:System.Security.Principal.IdentityReferenceCollection">
  84. <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>
  85. </member>
  86. <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor">
  87. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class with zero items in the collection.</summary>
  88. </member>
  89. <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor(System.Int32)">
  90. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class by using the specified initial size.</summary>
  91. <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>
  92. </member>
  93. <member name="M:System.Security.Principal.IdentityReferenceCollection.Add(System.Security.Principal.IdentityReference)">
  94. <summary>Adds an <see cref="T:System.Security.Principal.IdentityReference" /> object to the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  95. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to add to the collection.</param>
  96. </member>
  97. <member name="M:System.Security.Principal.IdentityReferenceCollection.Clear">
  98. <summary>Clears all <see cref="T:System.Security.Principal.IdentityReference" /> objects from the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  99. </member>
  100. <member name="M:System.Security.Principal.IdentityReferenceCollection.Contains(System.Security.Principal.IdentityReference)">
  101. <summary>Indicates whether the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection contains the specified <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
  102. <returns>true if the collection contains the specified object.</returns>
  103. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to check for.</param>
  104. </member>
  105. <member name="M:System.Security.Principal.IdentityReferenceCollection.CopyTo(System.Security.Principal.IdentityReference[],System.Int32)">
  106. <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>
  107. <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>
  108. <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>
  109. </member>
  110. <member name="P:System.Security.Principal.IdentityReferenceCollection.Count">
  111. <summary>Gets the number of items in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  112. <returns>The number of <see cref="T:System.Security.Principal.IdentityReference" /> objects in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
  113. </member>
  114. <member name="M:System.Security.Principal.IdentityReferenceCollection.GetEnumerator">
  115. <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  116. <returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
  117. </member>
  118. <member name="P:System.Security.Principal.IdentityReferenceCollection.Item(System.Int32)">
  119. <summary>Sets or gets the node at the specified index of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  120. <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 null.</returns>
  121. <param name="index">The zero-based index in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</param>
  122. </member>
  123. <member name="M:System.Security.Principal.IdentityReferenceCollection.Remove(System.Security.Principal.IdentityReference)">
  124. <summary>Removes the specified <see cref="T:System.Security.Principal.IdentityReference" /> object from the collection.</summary>
  125. <returns>true if the specified object was removed from the collection.</returns>
  126. <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to remove.</param>
  127. </member>
  128. <member name="P:System.Security.Principal.IdentityReferenceCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"></member>
  129. <member name="M:System.Security.Principal.IdentityReferenceCollection.System#Collections#IEnumerable#GetEnumerator">
  130. <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
  131. <returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
  132. </member>
  133. <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type)">
  134. <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 false, which means that exceptions will not be thrown for items that fail conversion.</summary>
  135. <returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
  136. <param name="targetType">The type to which items in the collection are being converted.</param>
  137. <PermissionSet>
  138. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  139. </PermissionSet>
  140. </member>
  141. <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type,System.Boolean)">
  142. <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>
  143. <returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
  144. <param name="targetType">The type to which items in the collection are being converted.</param>
  145. <param name="forceSuccess">A Boolean value that determines how conversion errors are handled.If <paramref name="forceSuccess" /> is true, conversion errors due to a mapping not being found for the translation result in a failed conversion and exceptions being thrown.If <paramref name="forceSuccess" /> is false, types that failed to convert due to a mapping not being found for the translation are copied without being converted into the collection being returned.</param>
  146. <PermissionSet>
  147. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  148. </PermissionSet>
  149. </member>
  150. <member name="T:System.Security.Principal.NTAccount">
  151. <summary>Represents a user or group account.</summary>
  152. </member>
  153. <member name="M:System.Security.Principal.NTAccount.#ctor(System.String)">
  154. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.NTAccount" /> class by using the specified name.</summary>
  155. <param name="name">The name used to create the <see cref="T:System.Security.Principal.NTAccount" /> object. This parameter cannot be null or an empty string.</param>
  156. <exception cref="T:System.ArgumentNullException">
  157. <paramref name="name" /> is null.</exception>
  158. <exception cref="T:System.ArgumentException">
  159. <paramref name="name" /> is an empty string.-or-<paramref name="name" /> is too long.</exception>
  160. </member>
  161. <member name="M:System.Security.Principal.NTAccount.#ctor(System.String,System.String)">
  162. <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>
  163. <param name="domainName">The name of the domain. This parameter can be null or an empty string. Domain names that are null values are treated like an empty string.</param>
  164. <param name="accountName">The name of the account. This parameter cannot be null or an empty string.</param>
  165. <exception cref="T:System.ArgumentNullException">
  166. <paramref name="accountName" /> is null.</exception>
  167. <exception cref="T:System.ArgumentException">
  168. <paramref name="accountName" /> is an empty string.-or-<paramref name="accountName" /> is too long.-or-<paramref name="domainName" /> is too long.</exception>
  169. </member>
  170. <member name="M:System.Security.Principal.NTAccount.Equals(System.Object)">
  171. <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.NTAccount" /> object is equal to a specified object.</summary>
  172. <returns>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, false.</returns>
  173. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.NTAccount" /> object, or null.</param>
  174. </member>
  175. <member name="M:System.Security.Principal.NTAccount.GetHashCode">
  176. <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>
  177. <returns>A hash value for the current <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
  178. </member>
  179. <member name="M:System.Security.Principal.NTAccount.IsValidTargetType(System.Type)">
  180. <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>
  181. <returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.NTAccount" /> class; otherwise false.</returns>
  182. <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:- <see cref="T:System.Security.Principal.NTAccount" />- <see cref="T:System.Security.Principal.SecurityIdentifier" /></param>
  183. </member>
  184. <member name="M:System.Security.Principal.NTAccount.op_Equality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
  185. <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 null. </summary>
  186. <returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise false.</returns>
  187. <param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
  188. <param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
  189. </member>
  190. <member name="M:System.Security.Principal.NTAccount.op_Inequality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
  191. <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 null and the other is not.</summary>
  192. <returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise false.</returns>
  193. <param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
  194. <param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
  195. </member>
  196. <member name="M:System.Security.Principal.NTAccount.ToString">
  197. <summary>Returns the account name, in Domain\Account format, for the account represented by the <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
  198. <returns>The account name, in Domain\Account format.</returns>
  199. </member>
  200. <member name="M:System.Security.Principal.NTAccount.Translate(System.Type)">
  201. <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>
  202. <returns>The converted identity.</returns>
  203. <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>
  204. <exception cref="T:System.ArgumentNullException">
  205. <paramref name="targetType " />is null.</exception>
  206. <exception cref="T:System.ArgumentException">
  207. <paramref name="targetType " />is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
  208. <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
  209. <exception cref="T:System.SystemException">The source account name is too long.-or-A Win32 error code was returned.</exception>
  210. <PermissionSet>
  211. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  212. </PermissionSet>
  213. </member>
  214. <member name="P:System.Security.Principal.NTAccount.Value">
  215. <summary>Returns an uppercase string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
  216. <returns>The uppercase string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
  217. <PermissionSet>
  218. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  219. </PermissionSet>
  220. </member>
  221. <member name="T:System.Security.Principal.SecurityIdentifier">
  222. <summary>Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.</summary>
  223. </member>
  224. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Byte[],System.Int32)">
  225. <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>
  226. <param name="binaryForm">The byte array that represents the SID.</param>
  227. <param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />. </param>
  228. </member>
  229. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.IntPtr)">
  230. <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>
  231. <param name="binaryForm">An integer that represents the binary form of a SID.</param>
  232. </member>
  233. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Security.Principal.WellKnownSidType,System.Security.Principal.SecurityIdentifier)">
  234. <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>
  235. <param name="sidType">One of the enumeration values. This value must not be <see cref="F:System.Security.Principal.WellKnownSidType.LogonIdsSid" />.</param>
  236. <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.- <see cref="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountGuestSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountComputersSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountControllersSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid" />- <see cref="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid" /></param>
  237. </member>
  238. <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.String)">
  239. <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>
  240. <param name="sddlForm">SDDL string for the SID used to create the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
  241. </member>
  242. <member name="P:System.Security.Principal.SecurityIdentifier.AccountDomainSid">
  243. <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 cref="T:System.ArgumentNullException" />.</summary>
  244. <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 cref="T:System.ArgumentNullException" />.</returns>
  245. </member>
  246. <member name="P:System.Security.Principal.SecurityIdentifier.BinaryLength">
  247. <summary>Returns the length, in bytes, of the security identifier (SID) represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
  248. <returns>The length, in bytes, of the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
  249. </member>
  250. <member name="M:System.Security.Principal.SecurityIdentifier.CompareTo(System.Security.Principal.SecurityIdentifier)">
  251. <summary>Compares the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object with the specified <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
  252. <returns>A signed number indicating the relative values of this instance and <paramref name="sid" />.Return Value Description Less than zero This instance is less than <paramref name="sid" />. Zero This instance is equal to <paramref name="sid" />. Greater than zero This instance is greater than <paramref name="sid" />. </returns>
  253. <param name="sid">The object to compare with the current object.</param>
  254. </member>
  255. <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Object)">
  256. <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object is equal to a specified object.</summary>
  257. <returns>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, false.</returns>
  258. <param name="o">An object to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object, or null.</param>
  259. </member>
  260. <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Security.Principal.SecurityIdentifier)">
  261. <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>
  262. <returns>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>
  263. <param name="sid">The object to compare with the current object.</param>
  264. </member>
  265. <member name="M:System.Security.Principal.SecurityIdentifier.GetBinaryForm(System.Byte[],System.Int32)">
  266. <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>
  267. <param name="binaryForm">The byte array to receive the copied SID.</param>
  268. <param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />. </param>
  269. </member>
  270. <member name="M:System.Security.Principal.SecurityIdentifier.GetHashCode">
  271. <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>
  272. <returns>A hash value for the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
  273. </member>
  274. <member name="M:System.Security.Principal.SecurityIdentifier.IsAccountSid">
  275. <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>
  276. <returns>true if the SID represented by this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object is a valid Windows account SID; otherwise, false.</returns>
  277. </member>
  278. <member name="M:System.Security.Principal.SecurityIdentifier.IsEqualDomainSid(System.Security.Principal.SecurityIdentifier)">
  279. <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>
  280. <returns>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, false.</returns>
  281. <param name="sid">The SID to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
  282. </member>
  283. <member name="M:System.Security.Principal.SecurityIdentifier.IsValidTargetType(System.Type)">
  284. <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>
  285. <returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.SecurityIdentifier" /> class; otherwise, false.</returns>
  286. <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:- <see cref="T:System.Security.Principal.NTAccount" />- <see cref="T:System.Security.Principal.SecurityIdentifier" /></param>
  287. </member>
  288. <member name="M:System.Security.Principal.SecurityIdentifier.IsWellKnown(System.Security.Principal.WellKnownSidType)">
  289. <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>
  290. <returns>true if <paramref name="type" /> is the SID type for the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object; otherwise, false.</returns>
  291. <param name="type">A value to compare with the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
  292. </member>
  293. <member name="F:System.Security.Principal.SecurityIdentifier.MaxBinaryLength">
  294. <summary>Returns the maximum size, in bytes, of the binary representation of the security identifier.</summary>
  295. </member>
  296. <member name="F:System.Security.Principal.SecurityIdentifier.MinBinaryLength">
  297. <summary>Returns the minimum size, in bytes, of the binary representation of the security identifier.</summary>
  298. </member>
  299. <member name="M:System.Security.Principal.SecurityIdentifier.op_Equality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
  300. <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 null. </summary>
  301. <returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, false.</returns>
  302. <param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
  303. <param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
  304. </member>
  305. <member name="M:System.Security.Principal.SecurityIdentifier.op_Inequality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
  306. <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 null and the other is not.</summary>
  307. <returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, false.</returns>
  308. <param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
  309. <param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
  310. </member>
  311. <member name="M:System.Security.Principal.SecurityIdentifier.ToString">
  312. <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>
  313. <returns>The SID, in SDDL format, for the account represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
  314. </member>
  315. <member name="M:System.Security.Principal.SecurityIdentifier.Translate(System.Type)">
  316. <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>
  317. <returns>The converted identity.</returns>
  318. <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>
  319. <exception cref="T:System.ArgumentNullException">
  320. <paramref name="targetType " />is null.</exception>
  321. <exception cref="T:System.ArgumentException">
  322. <paramref name="targetType " />is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
  323. <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
  324. <exception cref="T:System.SystemException">A Win32 error code was returned.</exception>
  325. <PermissionSet>
  326. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  327. </PermissionSet>
  328. </member>
  329. <member name="P:System.Security.Principal.SecurityIdentifier.Value">
  330. <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>
  331. <returns>An uppercase SDDL string for the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
  332. <PermissionSet>
  333. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  334. </PermissionSet>
  335. </member>
  336. <member name="T:System.Security.Principal.TokenAccessLevels">
  337. <summary>Defines the privileges of the user account associated with the access token. </summary>
  338. </member>
  339. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustDefault">
  340. <summary>The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.</summary>
  341. </member>
  342. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustGroups">
  343. <summary>The user can change the attributes of the groups in the token.</summary>
  344. </member>
  345. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges">
  346. <summary>The user can enable or disable privileges in the token.</summary>
  347. </member>
  348. <member name="F:System.Security.Principal.TokenAccessLevels.AdjustSessionId">
  349. <summary>The user can adjust the session identifier of the token.</summary>
  350. </member>
  351. <member name="F:System.Security.Principal.TokenAccessLevels.AllAccess">
  352. <summary>The user has all possible access to the token.</summary>
  353. </member>
  354. <member name="F:System.Security.Principal.TokenAccessLevels.AssignPrimary">
  355. <summary>The user can attach a primary token to a process.</summary>
  356. </member>
  357. <member name="F:System.Security.Principal.TokenAccessLevels.Duplicate">
  358. <summary>The user can duplicate the token.</summary>
  359. </member>
  360. <member name="F:System.Security.Principal.TokenAccessLevels.Impersonate">
  361. <summary>The user can impersonate a client.</summary>
  362. </member>
  363. <member name="F:System.Security.Principal.TokenAccessLevels.MaximumAllowed">
  364. <summary>The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels" /> enumeration.</summary>
  365. </member>
  366. <member name="F:System.Security.Principal.TokenAccessLevels.Query">
  367. <summary>The user can query the token.</summary>
  368. </member>
  369. <member name="F:System.Security.Principal.TokenAccessLevels.QuerySource">
  370. <summary>The user can query the source of the token.</summary>
  371. </member>
  372. <member name="F:System.Security.Principal.TokenAccessLevels.Read">
  373. <summary>The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query" /> privilege for the token.</summary>
  374. </member>
  375. <member name="F:System.Security.Principal.TokenAccessLevels.Write">
  376. <summary>The user has standard write rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges,F:System.Security.Principal.TokenAccessLevels.AdjustGroups" />, and <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustDefault" /> privileges for the token.</summary>
  377. </member>
  378. <member name="T:System.Security.Principal.WellKnownSidType">
  379. <summary>Defines a set of commonly used security identifiers (SIDs).</summary>
  380. </member>
  381. <member name="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid">
  382. <summary>Indicates a SID that matches the account administrators group.</summary>
  383. </member>
  384. <member name="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid">
  385. <summary>Indicates a SID that matches the certificate administrators group.</summary>
  386. </member>
  387. <member name="F:System.Security.Principal.WellKnownSidType.AccountComputersSid">
  388. <summary>Indicates a SID that matches the account computer group.</summary>
  389. </member>
  390. <member name="F:System.Security.Principal.WellKnownSidType.AccountControllersSid">
  391. <summary>Indicates a SID that matches the account controller group.</summary>
  392. </member>
  393. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid">
  394. <summary>Indicates a SID that matches the account domain administrator group.</summary>
  395. </member>
  396. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid">
  397. <summary>Indicates a SID that matches the account domain guests group.</summary>
  398. </member>
  399. <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid">
  400. <summary>Indicates a SID that matches the account domain users group.</summary>
  401. </member>
  402. <member name="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid">
  403. <summary>Indicates a SID that matches the enterprise administrators group.</summary>
  404. </member>
  405. <member name="F:System.Security.Principal.WellKnownSidType.AccountGuestSid">
  406. <summary>Indicates a SID that matches the account guest group.</summary>
  407. </member>
  408. <member name="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid">
  409. <summary>Indicates a SID that matches the account Kerberos target group.</summary>
  410. </member>
  411. <member name="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid">
  412. <summary>Indicates a SID that matches the policy administrators group.</summary>
  413. </member>
  414. <member name="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid">
  415. <summary>Indicates a SID that matches the RAS and IAS server account.</summary>
  416. </member>
  417. <member name="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid">
  418. <summary>Indicates a SID that matches the schema administrators group.</summary>
  419. </member>
  420. <member name="F:System.Security.Principal.WellKnownSidType.AnonymousSid">
  421. <summary>Indicates a SID for the anonymous account.</summary>
  422. </member>
  423. <member name="F:System.Security.Principal.WellKnownSidType.AuthenticatedUserSid">
  424. <summary>Indicates a SID for an authenticated user.</summary>
  425. </member>
  426. <member name="F:System.Security.Principal.WellKnownSidType.BatchSid">
  427. <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>
  428. </member>
  429. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAccountOperatorsSid">
  430. <summary>Indicates a SID that matches the account operators account.</summary>
  431. </member>
  432. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAdministratorsSid">
  433. <summary>Indicates a SID that matches the administrator account.</summary>
  434. </member>
  435. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAuthorizationAccessSid">
  436. <summary>Indicates a SID that matches the Windows Authorization Access group.</summary>
  437. </member>
  438. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinBackupOperatorsSid">
  439. <summary>Indicates a SID that matches the backup operators group.</summary>
  440. </member>
  441. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinDomainSid">
  442. <summary>Indicates a SID that matches the domain account.</summary>
  443. </member>
  444. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinGuestsSid">
  445. <summary>Indicates a SID that matches the guest account.</summary>
  446. </member>
  447. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinIncomingForestTrustBuildersSid">
  448. <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>
  449. </member>
  450. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinNetworkConfigurationOperatorsSid">
  451. <summary>Indicates a SID that matches the network operators group.</summary>
  452. </member>
  453. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceLoggingUsersSid">
  454. <summary>Indicates a SID that matches the group of users that have remote access to monitor the computer.</summary>
  455. </member>
  456. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceMonitoringUsersSid">
  457. <summary>Indicates a SID that matches the group of users that have remote access to schedule logging of performance counters on this computer.</summary>
  458. </member>
  459. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPowerUsersSid">
  460. <summary>Indicates a SID that matches the power users group.</summary>
  461. </member>
  462. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPreWindows2000CompatibleAccessSid">
  463. <summary>Indicates a SID that matches pre-Windows 2000 compatible accounts.</summary>
  464. </member>
  465. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPrintOperatorsSid">
  466. <summary>Indicates a SID that matches the print operators group.</summary>
  467. </member>
  468. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinRemoteDesktopUsersSid">
  469. <summary>Indicates a SID that matches remote desktop users.</summary>
  470. </member>
  471. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinReplicatorSid">
  472. <summary>Indicates a SID that matches the replicator account.</summary>
  473. </member>
  474. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinSystemOperatorsSid">
  475. <summary>Indicates a SID that matches the system operators group.</summary>
  476. </member>
  477. <member name="F:System.Security.Principal.WellKnownSidType.BuiltinUsersSid">
  478. <summary>Indicates a SID that matches built-in user accounts.</summary>
  479. </member>
  480. <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupServerSid">
  481. <summary>Indicates a creator group server SID.</summary>
  482. </member>
  483. <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupSid">
  484. <summary>Indicates a SID that matches the creator group of an object.</summary>
  485. </member>
  486. <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerServerSid">
  487. <summary>Indicates a creator owner server SID.</summary>
  488. </member>
  489. <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerSid">
  490. <summary>Indicates a SID that matches the owner or creator of an object.</summary>
  491. </member>
  492. <member name="F:System.Security.Principal.WellKnownSidType.DialupSid">
  493. <summary>Indicates a SID for a dial-up account.</summary>
  494. </member>
  495. <member name="F:System.Security.Principal.WellKnownSidType.DigestAuthenticationSid">
  496. <summary>Indicates a SID present when the Microsoft Digest authentication package authenticated the client.</summary>
  497. </member>
  498. <member name="F:System.Security.Principal.WellKnownSidType.EnterpriseControllersSid">
  499. <summary>Indicates a SID for an enterprise controller.</summary>
  500. </member>
  501. <member name="F:System.Security.Principal.WellKnownSidType.InteractiveSid">
  502. <summary>Indicates a SID for an interactive account. This SID is added to the process of a token when it logs on interactively.</summary>
  503. </member>
  504. <member name="F:System.Security.Principal.WellKnownSidType.LocalServiceSid">
  505. <summary>Indicates a SID that matches a local service.</summary>
  506. </member>
  507. <member name="F:System.Security.Principal.WellKnownSidType.LocalSid">
  508. <summary>Indicates a local SID.</summary>
  509. </member>
  510. <member name="F:System.Security.Principal.WellKnownSidType.LocalSystemSid">
  511. <summary>Indicates a SID that matches the local system.</summary>
  512. </member>
  513. <member name="F:System.Security.Principal.WellKnownSidType.LogonIdsSid">
  514. <summary>Indicates a SID that matches logon IDs.</summary>
  515. </member>
  516. <member name="F:System.Security.Principal.WellKnownSidType.MaxDefined">
  517. <summary>Indicates the maximum defined SID in the <see cref="T:System.Security.Principal.WellKnownSidType" /> enumeration.</summary>
  518. </member>
  519. <member name="F:System.Security.Principal.WellKnownSidType.NetworkServiceSid">
  520. <summary>Indicates a SID that matches a network service.</summary>
  521. </member>
  522. <member name="F:System.Security.Principal.WellKnownSidType.NetworkSid">
  523. <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>
  524. </member>
  525. <member name="F:System.Security.Principal.WellKnownSidType.NTAuthoritySid">
  526. <summary>Indicates a SID for the Windows NT authority.</summary>
  527. </member>
  528. <member name="F:System.Security.Principal.WellKnownSidType.NtlmAuthenticationSid">
  529. <summary>Indicates a SID present when the Microsoft NTLM authentication package authenticated the client.</summary>
  530. </member>
  531. <member name="F:System.Security.Principal.WellKnownSidType.NullSid">
  532. <summary>Indicates a null SID.</summary>
  533. </member>
  534. <member name="F:System.Security.Principal.WellKnownSidType.OtherOrganizationSid">
  535. <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>
  536. </member>
  537. <member name="F:System.Security.Principal.WellKnownSidType.ProxySid">
  538. <summary>Indicates a proxy SID.</summary>
  539. </member>
  540. <member name="F:System.Security.Principal.WellKnownSidType.RemoteLogonIdSid">
  541. <summary>Indicates a SID that matches remote logons.</summary>
  542. </member>
  543. <member name="F:System.Security.Principal.WellKnownSidType.RestrictedCodeSid">
  544. <summary>Indicates a SID for restricted code.</summary>
  545. </member>
  546. <member name="F:System.Security.Principal.WellKnownSidType.SChannelAuthenticationSid">
  547. <summary>Indicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client.</summary>
  548. </member>
  549. <member name="F:System.Security.Principal.WellKnownSidType.SelfSid">
  550. <summary>Indicates a SID for self.</summary>
  551. </member>
  552. <member name="F:System.Security.Principal.WellKnownSidType.ServiceSid">
  553. <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>
  554. </member>
  555. <member name="F:System.Security.Principal.WellKnownSidType.TerminalServerSid">
  556. <summary>Indicates a SID that matches a terminal server account.</summary>
  557. </member>
  558. <member name="F:System.Security.Principal.WellKnownSidType.ThisOrganizationSid">
  559. <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>
  560. </member>
  561. <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinTerminalServerLicenseServersSid">
  562. <summary>Indicates a SID is present in a server that can issue Terminal Server licenses.</summary>
  563. </member>
  564. <member name="F:System.Security.Principal.WellKnownSidType.WorldSid">
  565. <summary>Indicates a SID that matches everyone.</summary>
  566. </member>
  567. <member name="T:System.Security.Principal.WindowsBuiltInRole">
  568. <summary>Specifies common roles to be used with <see cref="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)" />.</summary>
  569. </member>
  570. <member name="F:System.Security.Principal.WindowsBuiltInRole.AccountOperator">
  571. <summary>Account operators manage the user accounts on a computer or domain.</summary>
  572. </member>
  573. <member name="F:System.Security.Principal.WindowsBuiltInRole.Administrator">
  574. <summary>Administrators have complete and unrestricted access to the computer or domain.</summary>
  575. </member>
  576. <member name="F:System.Security.Principal.WindowsBuiltInRole.BackupOperator">
  577. <summary>Backup operators can override security restrictions for the sole purpose of backing up or restoring files.</summary>
  578. </member>
  579. <member name="F:System.Security.Principal.WindowsBuiltInRole.Guest">
  580. <summary>Guests are more restricted than users.</summary>
  581. </member>
  582. <member name="F:System.Security.Principal.WindowsBuiltInRole.PowerUser">
  583. <summary>Power users possess most administrative permissions with some restrictions. Thus, power users can run legacy applications, in addition to certified applications.</summary>
  584. </member>
  585. <member name="F:System.Security.Principal.WindowsBuiltInRole.PrintOperator">
  586. <summary>Print operators can take control of a printer.</summary>
  587. </member>
  588. <member name="F:System.Security.Principal.WindowsBuiltInRole.Replicator">
  589. <summary>Replicators support file replication in a domain.</summary>
  590. </member>
  591. <member name="F:System.Security.Principal.WindowsBuiltInRole.SystemOperator">
  592. <summary>System operators manage a particular computer.</summary>
  593. </member>
  594. <member name="F:System.Security.Principal.WindowsBuiltInRole.User">
  595. <summary>Users are prevented from making accidental or intentional system-wide changes. Thus, users can run certified applications, but not most legacy applications.</summary>
  596. </member>
  597. <member name="T:System.Security.Principal.WindowsIdentity">
  598. <summary>Represents a Windows user.</summary>
  599. </member>
  600. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr)">
  601. <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>
  602. <param name="userToken">The account token for the user on whose behalf the code is running. </param>
  603. <exception cref="T:System.ArgumentException">
  604. <paramref name="userToken" /> is 0.-or-<paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
  605. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. -or-A Win32 error occurred.</exception>
  606. </member>
  607. <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String)">
  608. <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>
  609. <param name="userToken">The account token for the user on whose behalf the code is running. </param>
  610. <param name="type">(Informational use only.) The type of authentication used to identify the user. For more information, see Remarks.</param>
  611. <exception cref="T:System.ArgumentException">
  612. <paramref name="userToken" /> is 0.-or-<paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
  613. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. -or-A Win32 error occurred.</exception>
  614. </member>
  615. <member name="P:System.Security.Principal.WindowsIdentity.AccessToken">
  616. <summary>[SECURITY CRITICAL] Gets this <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> for this <see cref="T:System.Security.Principal.WindowsIdentity" /> instance. </summary>
  617. <returns>Returns a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" />.</returns>
  618. </member>
  619. <member name="M:System.Security.Principal.WindowsIdentity.Dispose">
  620. <summary>Releases all resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" />. </summary>
  621. </member>
  622. <member name="M:System.Security.Principal.WindowsIdentity.Dispose(System.Boolean)">
  623. <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" /> and optionally releases the managed resources. </summary>
  624. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  625. </member>
  626. <member name="M:System.Security.Principal.WindowsIdentity.GetAnonymous">
  627. <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>
  628. <returns>An object that represents an anonymous user.</returns>
  629. </member>
  630. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent">
  631. <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity" /> object that represents the current Windows user.</summary>
  632. <returns>An object that represents the current user.</returns>
  633. <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. </exception>
  634. <PermissionSet>
  635. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
  636. </PermissionSet>
  637. </member>
  638. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Boolean)">
  639. <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>
  640. <returns>An object that represents a Windows user.</returns>
  641. <param name="ifImpersonating">true to return the <see cref="T:System.Security.Principal.WindowsIdentity" /> only if the thread is currently impersonating; 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>
  642. <PermissionSet>
  643. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
  644. </PermissionSet>
  645. </member>
  646. <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Security.Principal.TokenAccessLevels)">
  647. <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>
  648. <returns>An object that represents the current user.</returns>
  649. <param name="desiredAccess">A bitwise combination of the enumeration values. </param>
  650. <PermissionSet>
  651. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
  652. </PermissionSet>
  653. </member>
  654. <member name="P:System.Security.Principal.WindowsIdentity.Groups">
  655. <summary>Gets the groups the current Windows user belongs to.</summary>
  656. <returns>An object representing the groups the current Windows user belongs to.</returns>
  657. </member>
  658. <member name="P:System.Security.Principal.WindowsIdentity.ImpersonationLevel">
  659. <summary>Gets the impersonation level for the user.</summary>
  660. <returns>One of the enumeration values that specifies the impersonation level. </returns>
  661. </member>
  662. <member name="P:System.Security.Principal.WindowsIdentity.IsAnonymous">
  663. <summary>Gets a value that indicates whether the user account is identified as an anonymous account by the system.</summary>
  664. <returns>true if the user account is an anonymous account; otherwise, false.</returns>
  665. </member>
  666. <member name="P:System.Security.Principal.WindowsIdentity.IsGuest">
  667. <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>
  668. <returns>true if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.Guest" /> account; otherwise, false.</returns>
  669. </member>
  670. <member name="P:System.Security.Principal.WindowsIdentity.IsSystem">
  671. <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>
  672. <returns>true if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.System" /> account; otherwise, false.</returns>
  673. </member>
  674. <member name="P:System.Security.Principal.WindowsIdentity.Owner">
  675. <summary>Gets the security identifier (SID) for the token owner.</summary>
  676. <returns>An object for the token owner.</returns>
  677. </member>
  678. <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)">
  679. <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>
  680. <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
  681. <param name="action">The System.Action to run. </param>
  682. </member>
  683. <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated``1(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{``0})">
  684. <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>
  685. <returns>Returns the result of the function.</returns>
  686. <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
  687. <param name="func">The System.Func to run.</param>
  688. <typeparam name="T">The type of object used by and returned by the function.</typeparam>
  689. </member>
  690. <member name="P:System.Security.Principal.WindowsIdentity.User">
  691. <summary>Gets the security identifier (SID) for the user.</summary>
  692. <returns>An object for the user.</returns>
  693. </member>
  694. <member name="T:System.Security.Principal.WindowsPrincipal">
  695. <summary>Enables code to check the Windows group membership of a Windows user.</summary>
  696. </member>
  697. <member name="M:System.Security.Principal.WindowsPrincipal.#ctor(System.Security.Principal.WindowsIdentity)">
  698. <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>
  699. <param name="ntIdentity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.WindowsPrincipal" />. </param>
  700. <exception cref="T:System.ArgumentNullException">
  701. <paramref name="ntIdentity" /> is null. </exception>
  702. </member>
  703. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Int32)">
  704. <summary>Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).</summary>
  705. <returns>true if the current principal is a member of the specified Windows user group, that is, in a particular role; otherwise, false.</returns>
  706. <param name="rid">The RID of the Windows user group in which to check for the principal’s membership status. </param>
  707. <PermissionSet>
  708. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  709. </PermissionSet>
  710. </member>
  711. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.SecurityIdentifier)">
  712. <summary>Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).</summary>
  713. <returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
  714. <param name="sid">A <see cref="T:System.Security.Principal.SecurityIdentifier" /> that uniquely identifies a Windows user group.</param>
  715. <exception cref="T:System.ArgumentNullException">
  716. <paramref name="sid" /> is null.</exception>
  717. <exception cref="T:System.Security.SecurityException">Windows returned a Win32 error.</exception>
  718. <PermissionSet>
  719. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  720. </PermissionSet>
  721. </member>
  722. <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.WindowsBuiltInRole)">
  723. <summary>Determines whether the current principal belongs to the Windows user group with the specified <see cref="T:System.Security.Principal.WindowsBuiltInRole" />.</summary>
  724. <returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
  725. <param name="role">One of the <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> values. </param>
  726. <exception cref="T:System.ArgumentException">
  727. <paramref name="role" /> is not a valid <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> value.</exception>
  728. <PermissionSet>
  729. <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
  730. </PermissionSet>
  731. </member>
  732. </members>
  733. </doc>