1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Security.Principal.Windows</name>
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>
10 <member name="M:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.#ctor">
11 <summary>Creates a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" />.</summary>
13 <member name="M:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.#ctor(System.IntPtr)">
14 <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> class.</summary>
15 <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>
17 <member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.InvalidHandle">
18 <summary>Returns an invalid handle by instantiating a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> object with <see cref="F:System.IntPtr.Zero" />.</summary>
19 <returns>Returns a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> object.</returns>
21 <member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.IsInvalid">
22 <summary>Gets a value that indicates whether the handle is invalid.</summary>
24 <see langword="true" /> if the handle is not valid; otherwise, <see langword="false" />.</returns>
26 <member name="T:System.Security.Principal.IdentityNotMappedException">
27 <summary>Represents an exception for a principal whose identity could not be mapped to a known identity.</summary>
29 <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor">
30 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class.</summary>
32 <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String)">
33 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class by using the specified error message.</summary>
34 <param name="message">The error message that explains the reason for the exception.</param>
36 <member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String,System.Exception)">
37 <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>
38 <param name="message">The error message that explains the reason for the exception.</param>
39 <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>
41 <member name="M:System.Security.Principal.IdentityNotMappedException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
42 <summary>Gets serialization information with the data needed to create an instance of this <see cref="T:System.Security.Principal.IdentityNotMappedException" /> object.</summary>
43 <param name="serializationInfo">The object that holds the serialized object data about the exception being thrown.</param>
44 <param name="streamingContext">The object that contains contextual information about the source or destination.</param>
46 <member name="P:System.Security.Principal.IdentityNotMappedException.UnmappedIdentities">
47 <summary>Represents the collection of unmapped identities for an <see cref="T:System.Security.Principal.IdentityNotMappedException" /> exception.</summary>
48 <returns>The collection of unmapped identities.</returns>
50 <member name="T:System.Security.Principal.IdentityReference">
51 <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>
53 <member name="M:System.Security.Principal.IdentityReference.Equals(System.Object)">
54 <summary>Returns a value that indicates whether the specified object equals this instance of the <see cref="T:System.Security.Principal.IdentityReference" /> class.</summary>
55 <param name="o">An object to compare with this <see cref="T:System.Security.Principal.IdentityReference" /> instance, or a null reference.</param>
57 <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>
59 <member name="M:System.Security.Principal.IdentityReference.GetHashCode">
60 <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>
61 <returns>The hash code for this <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
63 <member name="M:System.Security.Principal.IdentityReference.IsValidTargetType(System.Type)">
64 <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>
65 <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:
67 <see cref="T:System.Security.Principal.NTAccount" /><see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
69 <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>
71 <member name="M:System.Security.Principal.IdentityReference.op_Equality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
72 <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>
73 <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>
74 <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>
76 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, <see langword="false" />.</returns>
78 <member name="M:System.Security.Principal.IdentityReference.op_Inequality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
79 <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>
80 <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>
81 <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>
83 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, <see langword="false" />.</returns>
85 <member name="M:System.Security.Principal.IdentityReference.ToString">
86 <summary>Returns the string representation of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
87 <returns>The identity in string format.</returns>
89 <member name="M:System.Security.Principal.IdentityReference.Translate(System.Type)">
90 <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>
91 <param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.IdentityReference" />.</param>
92 <returns>The converted identity.</returns>
94 <member name="P:System.Security.Principal.IdentityReference.Value">
95 <summary>Gets the string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
96 <returns>The string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
98 <member name="T:System.Security.Principal.IdentityReferenceCollection">
99 <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>
101 <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor">
102 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class with zero items in the collection.</summary>
104 <member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor(System.Int32)">
105 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class by using the specified initial size.</summary>
106 <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>
108 <member name="M:System.Security.Principal.IdentityReferenceCollection.Add(System.Security.Principal.IdentityReference)">
109 <summary>Adds an <see cref="T:System.Security.Principal.IdentityReference" /> object to the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
110 <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to add to the collection.</param>
111 <exception cref="T:System.ArgumentNullException">
112 <paramref name="identity" /> is <see langword="null" />.</exception>
114 <member name="M:System.Security.Principal.IdentityReferenceCollection.Clear">
115 <summary>Clears all <see cref="T:System.Security.Principal.IdentityReference" /> objects from the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
117 <member name="M:System.Security.Principal.IdentityReferenceCollection.Contains(System.Security.Principal.IdentityReference)">
118 <summary>Indicates whether the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection contains the specified <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
119 <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to check for.</param>
120 <exception cref="T:System.ArgumentNullException">
121 <paramref name="identity" /> is <see langword="null" />.</exception>
123 <see langword="true" /> if the collection contains the specified object.</returns>
125 <member name="M:System.Security.Principal.IdentityReferenceCollection.CopyTo(System.Security.Principal.IdentityReference[],System.Int32)">
126 <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>
127 <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>
128 <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>
130 <member name="M:System.Security.Principal.IdentityReferenceCollection.GetEnumerator">
131 <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
132 <returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
134 <member name="M:System.Security.Principal.IdentityReferenceCollection.Remove(System.Security.Principal.IdentityReference)">
135 <summary>Removes the specified <see cref="T:System.Security.Principal.IdentityReference" /> object from the collection.</summary>
136 <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to remove.</param>
137 <exception cref="T:System.ArgumentNullException">
138 <paramref name="identity" /> is <see langword="null" />.</exception>
140 <see langword="true" /> if the specified object was removed from the collection.</returns>
142 <member name="M:System.Security.Principal.IdentityReferenceCollection.System#Collections#IEnumerable#GetEnumerator">
143 <summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
144 <returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
146 <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type)">
147 <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>
148 <param name="targetType">The type to which items in the collection are being converted.</param>
149 <returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
151 <member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type,System.Boolean)">
152 <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>
153 <param name="targetType">The type to which items in the collection are being converted.</param>
154 <param name="forceSuccess">A Boolean value that determines how conversion errors are handled.
156 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.
158 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>
159 <returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
161 <member name="P:System.Security.Principal.IdentityReferenceCollection.Count">
162 <summary>Gets the number of items in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
163 <returns>The number of <see cref="T:System.Security.Principal.IdentityReference" /> objects in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
165 <member name="P:System.Security.Principal.IdentityReferenceCollection.Item(System.Int32)">
166 <summary>Gets or sets the node at the specified index of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
167 <param name="index">The zero-based index in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</param>
168 <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>
170 <member name="P:System.Security.Principal.IdentityReferenceCollection.System#Collections#Generic#ICollection{System#Security#Principal#IdentityReference}#IsReadOnly">
171 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
173 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
175 <member name="T:System.Security.Principal.NTAccount">
176 <summary>Represents a user or group account.</summary>
178 <member name="M:System.Security.Principal.NTAccount.#ctor(System.String)">
179 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.NTAccount" /> class by using the specified name.</summary>
180 <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>
181 <exception cref="T:System.ArgumentNullException">
182 <paramref name="name" /> is <see langword="null" />.</exception>
183 <exception cref="T:System.ArgumentException">
184 <paramref name="name" /> is an empty string.
188 <paramref name="name" /> is too long.</exception>
190 <member name="M:System.Security.Principal.NTAccount.#ctor(System.String,System.String)">
191 <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>
192 <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>
193 <param name="accountName">The name of the account. This parameter cannot be <see langword="null" /> or an empty string.</param>
194 <exception cref="T:System.ArgumentNullException">
195 <paramref name="accountName" /> is <see langword="null" />.</exception>
196 <exception cref="T:System.ArgumentException">
197 <paramref name="accountName" /> is an empty string.
201 <paramref name="accountName" /> is too long.
205 <paramref name="domainName" /> is too long.</exception>
207 <member name="M:System.Security.Principal.NTAccount.Equals(System.Object)">
208 <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.NTAccount" /> object is equal to a specified object.</summary>
209 <param name="o">An object to compare with this <see cref="T:System.Security.Principal.NTAccount" /> object, or <see langword="null" />.</param>
211 <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>
213 <member name="M:System.Security.Principal.NTAccount.GetHashCode">
214 <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>
215 <returns>A hash value for the current <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
217 <member name="M:System.Security.Principal.NTAccount.IsValidTargetType(System.Type)">
218 <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>
219 <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:
221 - <see cref="T:System.Security.Principal.NTAccount" />
223 - <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
225 <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>
227 <member name="M:System.Security.Principal.NTAccount.op_Equality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
228 <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>
229 <param name="left">The left operand to use for the equality comparison. This parameter can be <see langword="null" />.</param>
230 <param name="right">The right operand to use for the equality comparison. This parameter can be <see langword="null" />.</param>
232 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise <see langword="false" />.</returns>
234 <member name="M:System.Security.Principal.NTAccount.op_Inequality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
235 <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>
236 <param name="left">The left operand to use for the inequality comparison. This parameter can be <see langword="null" />.</param>
237 <param name="right">The right operand to use for the inequality comparison. This parameter can be <see langword="null" />.</param>
239 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise <see langword="false" />.</returns>
241 <member name="M:System.Security.Principal.NTAccount.ToString">
242 <summary>Returns the account name, in Domain \ Account format, for the account represented by the <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
243 <returns>The account name, in Domain \ Account format.</returns>
245 <member name="M:System.Security.Principal.NTAccount.Translate(System.Type)">
246 <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>
247 <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>
248 <exception cref="T:System.ArgumentNullException">
249 <paramref name="targetType" /> is <see langword="null" />.</exception>
250 <exception cref="T:System.ArgumentException">
251 <paramref name="targetType" /> is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
252 <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
253 <exception cref="T:System.SystemException">The source account name is too long.
257 A Win32 error code was returned.</exception>
258 <returns>The converted identity.</returns>
260 <member name="P:System.Security.Principal.NTAccount.Value">
261 <summary>Returns a string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
262 <returns>The string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
264 <member name="T:System.Security.Principal.SecurityIdentifier">
265 <summary>Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.</summary>
267 <member name="F:System.Security.Principal.SecurityIdentifier.MaxBinaryLength">
268 <summary>Returns the maximum size, in bytes, of the binary representation of the security identifier.</summary>
270 <member name="F:System.Security.Principal.SecurityIdentifier.MinBinaryLength">
271 <summary>Returns the minimum size, in bytes, of the binary representation of the security identifier.</summary>
273 <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Byte[],System.Int32)">
274 <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>
275 <param name="binaryForm">The byte array that represents the SID.</param>
276 <param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />.</param>
278 <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.IntPtr)">
279 <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>
280 <param name="binaryForm">An integer that represents the binary form of a SID.</param>
282 <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Security.Principal.WellKnownSidType,System.Security.Principal.SecurityIdentifier)">
283 <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>
284 <param name="sidType">One of the enumeration values. This value must not be <see cref="F:System.Security.Principal.WellKnownSidType.LogonIdsSid" />.</param>
285 <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.
287 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid" />
289 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountGuestSid" />
291 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid" />
293 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid" />
295 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid" />
297 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid" />
299 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountComputersSid" />
301 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountControllersSid" />
303 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid" />
305 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid" />
307 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid" />
309 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid" />
311 - <see cref="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid" />.</param>
313 <member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.String)">
314 <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>
315 <param name="sddlForm">SDDL string for the SID used to create the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
317 <member name="M:System.Security.Principal.SecurityIdentifier.CompareTo(System.Security.Principal.SecurityIdentifier)">
318 <summary>Compares the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object with the specified <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
319 <param name="sid">The object to compare with the current object.</param>
320 <returns>A signed number indicating the relative values of this instance and <paramref name="sid" />.
322 <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>
324 <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Object)">
325 <summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object is equal to a specified object.</summary>
326 <param name="o">An object to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object, or <see langword="null" />.</param>
328 <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>
330 <member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Security.Principal.SecurityIdentifier)">
331 <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>
332 <param name="sid">The object to compare with the current object.</param>
334 <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>
336 <member name="M:System.Security.Principal.SecurityIdentifier.GetBinaryForm(System.Byte[],System.Int32)">
337 <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>
338 <param name="binaryForm">The byte array to receive the copied SID.</param>
339 <param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />.</param>
341 <member name="M:System.Security.Principal.SecurityIdentifier.GetHashCode">
342 <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>
343 <returns>A hash value for the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
345 <member name="M:System.Security.Principal.SecurityIdentifier.IsAccountSid">
346 <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>
348 <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>
350 <member name="M:System.Security.Principal.SecurityIdentifier.IsEqualDomainSid(System.Security.Principal.SecurityIdentifier)">
351 <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>
352 <param name="sid">The SID to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
354 <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>
356 <member name="M:System.Security.Principal.SecurityIdentifier.IsValidTargetType(System.Type)">
357 <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>
358 <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:
360 - <see cref="T:System.Security.Principal.NTAccount" />
362 - <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
364 <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>
366 <member name="M:System.Security.Principal.SecurityIdentifier.IsWellKnown(System.Security.Principal.WellKnownSidType)">
367 <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>
368 <param name="type">A value to compare with the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
370 <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>
372 <member name="M:System.Security.Principal.SecurityIdentifier.op_Equality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
373 <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>
374 <param name="left">The left operand to use for the equality comparison. This parameter can be <see langword="null" />.</param>
375 <param name="right">The right operand to use for the equality comparison. This parameter can be <see langword="null" />.</param>
377 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, <see langword="false" />.</returns>
379 <member name="M:System.Security.Principal.SecurityIdentifier.op_Inequality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
380 <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>
381 <param name="left">The left operand to use for the inequality comparison. This parameter can be <see langword="null" />.</param>
382 <param name="right">The right operand to use for the inequality comparison. This parameter can be <see langword="null" />.</param>
384 <see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, <see langword="false" />.</returns>
386 <member name="M:System.Security.Principal.SecurityIdentifier.ToString">
387 <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>
388 <returns>The SID, in SDDL format, for the account represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
390 <member name="M:System.Security.Principal.SecurityIdentifier.Translate(System.Type)">
391 <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>
392 <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>
393 <exception cref="T:System.ArgumentNullException">
394 <paramref name="targetType" /> is <see langword="null" />.</exception>
395 <exception cref="T:System.ArgumentException">
396 <paramref name="targetType" /> is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
397 <exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
398 <exception cref="T:System.SystemException">A Win32 error code was returned.</exception>
399 <returns>The converted identity.</returns>
401 <member name="P:System.Security.Principal.SecurityIdentifier.AccountDomainSid">
402 <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>
403 <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>
405 <member name="P:System.Security.Principal.SecurityIdentifier.BinaryLength">
406 <summary>Returns the length, in bytes, of the security identifier (SID) represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
407 <returns>The length, in bytes, of the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
409 <member name="P:System.Security.Principal.SecurityIdentifier.Value">
410 <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>
411 <returns>An uppercase SDDL string for the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
413 <member name="T:System.Security.Principal.TokenAccessLevels">
414 <summary>Defines the privileges of the user account associated with the access token.</summary>
416 <member name="F:System.Security.Principal.TokenAccessLevels.AdjustDefault">
417 <summary>The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.</summary>
419 <member name="F:System.Security.Principal.TokenAccessLevels.AdjustGroups">
420 <summary>The user can change the attributes of the groups in the token.</summary>
422 <member name="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges">
423 <summary>The user can enable or disable privileges in the token.</summary>
425 <member name="F:System.Security.Principal.TokenAccessLevels.AdjustSessionId">
426 <summary>The user can adjust the session identifier of the token.</summary>
428 <member name="F:System.Security.Principal.TokenAccessLevels.AllAccess">
429 <summary>The user has all possible access to the token.</summary>
431 <member name="F:System.Security.Principal.TokenAccessLevels.AssignPrimary">
432 <summary>The user can attach a primary token to a process.</summary>
434 <member name="F:System.Security.Principal.TokenAccessLevels.Duplicate">
435 <summary>The user can duplicate the token.</summary>
437 <member name="F:System.Security.Principal.TokenAccessLevels.Impersonate">
438 <summary>The user can impersonate a client.</summary>
440 <member name="F:System.Security.Principal.TokenAccessLevels.MaximumAllowed">
441 <summary>The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels" /> enumeration.</summary>
443 <member name="F:System.Security.Principal.TokenAccessLevels.Query">
444 <summary>The user can query the token.</summary>
446 <member name="F:System.Security.Principal.TokenAccessLevels.QuerySource">
447 <summary>The user can query the source of the token.</summary>
449 <member name="F:System.Security.Principal.TokenAccessLevels.Read">
450 <summary>The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query" /> privilege for the token.</summary>
452 <member name="F:System.Security.Principal.TokenAccessLevels.Write">
453 <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>
455 <member name="T:System.Security.Principal.WellKnownSidType">
456 <summary>Defines a set of commonly used security identifiers (SIDs).</summary>
458 <member name="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid">
459 <summary>Indicates a SID that matches the account administrators group.</summary>
461 <member name="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid">
462 <summary>Indicates a SID that matches the certificate administrators group.</summary>
464 <member name="F:System.Security.Principal.WellKnownSidType.AccountComputersSid">
465 <summary>Indicates a SID that matches the account computer group.</summary>
467 <member name="F:System.Security.Principal.WellKnownSidType.AccountControllersSid">
468 <summary>Indicates a SID that matches the account controller group.</summary>
470 <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid">
471 <summary>Indicates a SID that matches the account domain administrator group.</summary>
473 <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid">
474 <summary>Indicates a SID that matches the account domain guests group.</summary>
476 <member name="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid">
477 <summary>Indicates a SID that matches the account domain users group.</summary>
479 <member name="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid">
480 <summary>Indicates a SID that matches the enterprise administrators group.</summary>
482 <member name="F:System.Security.Principal.WellKnownSidType.AccountGuestSid">
483 <summary>Indicates a SID that matches the account guest group.</summary>
485 <member name="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid">
486 <summary>Indicates a SID that matches the account Kerberos target group.</summary>
488 <member name="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid">
489 <summary>Indicates a SID that matches the policy administrators group.</summary>
491 <member name="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid">
492 <summary>Indicates a SID that matches the RAS and IAS server account.</summary>
494 <member name="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid">
495 <summary>Indicates a SID that matches the schema administrators group.</summary>
497 <member name="F:System.Security.Principal.WellKnownSidType.AnonymousSid">
498 <summary>Indicates a SID for the anonymous account.</summary>
500 <member name="F:System.Security.Principal.WellKnownSidType.AuthenticatedUserSid">
501 <summary>Indicates a SID for an authenticated user.</summary>
503 <member name="F:System.Security.Principal.WellKnownSidType.BatchSid">
504 <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>
506 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAccountOperatorsSid">
507 <summary>Indicates a SID that matches the account operators account.</summary>
509 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAdministratorsSid">
510 <summary>Indicates a SID that matches the administrator account.</summary>
512 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinAuthorizationAccessSid">
513 <summary>Indicates a SID that matches the Windows Authorization Access group.</summary>
515 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinBackupOperatorsSid">
516 <summary>Indicates a SID that matches the backup operators group.</summary>
518 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinDomainSid">
519 <summary>Indicates a SID that matches the domain account.</summary>
521 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinGuestsSid">
522 <summary>Indicates a SID that matches the guest account.</summary>
524 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinIncomingForestTrustBuildersSid">
525 <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>
527 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinNetworkConfigurationOperatorsSid">
528 <summary>Indicates a SID that matches the network operators group.</summary>
530 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceLoggingUsersSid">
531 <summary>Indicates a SID that matches the group of users that have remote access to monitor the computer.</summary>
533 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceMonitoringUsersSid">
534 <summary>Indicates a SID that matches the group of users that have remote access to schedule logging of performance counters on this computer.</summary>
536 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPowerUsersSid">
537 <summary>Indicates a SID that matches the power users group.</summary>
539 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPreWindows2000CompatibleAccessSid">
540 <summary>Indicates a SID that matches pre-Windows 2000 compatible accounts.</summary>
542 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinPrintOperatorsSid">
543 <summary>Indicates a SID that matches the print operators group.</summary>
545 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinRemoteDesktopUsersSid">
546 <summary>Indicates a SID that matches remote desktop users.</summary>
548 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinReplicatorSid">
549 <summary>Indicates a SID that matches the replicator account.</summary>
551 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinSystemOperatorsSid">
552 <summary>Indicates a SID that matches the system operators group.</summary>
554 <member name="F:System.Security.Principal.WellKnownSidType.BuiltinUsersSid">
555 <summary>Indicates a SID that matches built-in user accounts.</summary>
557 <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupServerSid">
558 <summary>Indicates a creator group server SID.</summary>
560 <member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupSid">
561 <summary>Indicates a SID that matches the creator group of an object.</summary>
563 <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerServerSid">
564 <summary>Indicates a creator owner server SID.</summary>
566 <member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerSid">
567 <summary>Indicates a SID that matches the owner or creator of an object.</summary>
569 <member name="F:System.Security.Principal.WellKnownSidType.DialupSid">
570 <summary>Indicates a SID for a dial-up account.</summary>
572 <member name="F:System.Security.Principal.WellKnownSidType.DigestAuthenticationSid">
573 <summary>Indicates a SID present when the Microsoft Digest authentication package authenticated the client.</summary>
575 <member name="F:System.Security.Principal.WellKnownSidType.EnterpriseControllersSid">
576 <summary>Indicates a SID for an enterprise controller.</summary>
578 <member name="F:System.Security.Principal.WellKnownSidType.InteractiveSid">
579 <summary>Indicates a SID for an interactive account. This SID is added to the process of a token when it logs on interactively.</summary>
581 <member name="F:System.Security.Principal.WellKnownSidType.LocalServiceSid">
582 <summary>Indicates a SID that matches a local service.</summary>
584 <member name="F:System.Security.Principal.WellKnownSidType.LocalSid">
585 <summary>Indicates a local SID.</summary>
587 <member name="F:System.Security.Principal.WellKnownSidType.LocalSystemSid">
588 <summary>Indicates a SID that matches the local system.</summary>
590 <member name="F:System.Security.Principal.WellKnownSidType.LogonIdsSid">
591 <summary>Indicates a SID that matches logon IDs.</summary>
593 <member name="F:System.Security.Principal.WellKnownSidType.MaxDefined">
594 <summary>Indicates the maximum defined SID in the <see cref="T:System.Security.Principal.WellKnownSidType" /> enumeration.</summary>
596 <member name="F:System.Security.Principal.WellKnownSidType.NetworkServiceSid">
597 <summary>Indicates a SID that matches a network service.</summary>
599 <member name="F:System.Security.Principal.WellKnownSidType.NetworkSid">
600 <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>
602 <member name="F:System.Security.Principal.WellKnownSidType.NTAuthoritySid">
603 <summary>Indicates a SID for the Windows NT authority.</summary>
605 <member name="F:System.Security.Principal.WellKnownSidType.NtlmAuthenticationSid">
606 <summary>Indicates a SID present when the Microsoft NTLM authentication package authenticated the client.</summary>
608 <member name="F:System.Security.Principal.WellKnownSidType.NullSid">
609 <summary>Indicates a null SID.</summary>
611 <member name="F:System.Security.Principal.WellKnownSidType.OtherOrganizationSid">
612 <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>
614 <member name="F:System.Security.Principal.WellKnownSidType.ProxySid">
615 <summary>Indicates a proxy SID.</summary>
617 <member name="F:System.Security.Principal.WellKnownSidType.RemoteLogonIdSid">
618 <summary>Indicates a SID that matches remote logons.</summary>
620 <member name="F:System.Security.Principal.WellKnownSidType.RestrictedCodeSid">
621 <summary>Indicates a SID for restricted code.</summary>
623 <member name="F:System.Security.Principal.WellKnownSidType.SChannelAuthenticationSid">
624 <summary>Indicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client.</summary>
626 <member name="F:System.Security.Principal.WellKnownSidType.SelfSid">
627 <summary>Indicates a SID for self.</summary>
629 <member name="F:System.Security.Principal.WellKnownSidType.ServiceSid">
630 <summary>Indicates a SID for a service. This SID is added to the process of a token when it logs on as a service.</summary>
632 <member name="F:System.Security.Principal.WellKnownSidType.TerminalServerSid">
633 <summary>Indicates a SID that matches a terminal server account.</summary>
635 <member name="F:System.Security.Principal.WellKnownSidType.ThisOrganizationSid">
636 <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>
638 <member name="F:System.Security.Principal.WellKnownSidType.WinAccountReadonlyControllersSid">
639 <summary>Indicates a SID that matches an account read-only controllers group.</summary>
641 <member name="F:System.Security.Principal.WellKnownSidType.WinApplicationPackageAuthoritySid">
642 <summary>Indicates a SID that matches the application package authority.</summary>
644 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinAnyPackageSid">
645 <summary>Indicates a SID that applies to all app containers.</summary>
647 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinCertSvcDComAccessGroup">
648 <summary>Indicates a SID that matches the built-in DCOM certification services access group.</summary>
650 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinCryptoOperatorsSid">
651 <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>
653 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinDCOMUsersSid">
654 <summary>Indicates a SID that matches the distributed COM user group.</summary>
656 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinEventLogReadersGroup">
657 <summary>Indicates a SID that matches an event log readers group.</summary>
659 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinIUsersSid">
660 <summary>Indicates a SID that matches the Internet built-in user group.</summary>
662 <member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinTerminalServerLicenseServersSid">
663 <summary>Indicates a SID is present in a server that can issue Terminal Server licenses.</summary>
665 <member name="F:System.Security.Principal.WellKnownSidType.WinCacheablePrincipalsGroupSid">
666 <summary>Indicates a SID that matches a cacheable principals group.</summary>
668 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityDocumentsLibrarySid">
669 <summary>Indicates a SID for documents library capability for app containers.</summary>
671 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityEnterpriseAuthenticationSid">
672 <summary>Indicates a SID for Windows credentials capability for app containers.</summary>
674 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityInternetClientServerSid">
675 <summary>Indicates a SID of Internet client and server capability for app containers.</summary>
677 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityInternetClientSid">
678 <summary>Indicates a SID of Internet client capability for app containers.</summary>
680 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityMusicLibrarySid">
681 <summary>Indicates a SID for music library capability for app containers.</summary>
683 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityPicturesLibrarySid">
684 <summary>Indicates a SID for pictures library capability for app containers.</summary>
686 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityPrivateNetworkClientServerSid">
687 <summary>Indicates a SID of private network client and server capability for app containers.</summary>
689 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityRemovableStorageSid">
690 <summary>Indicates a SID for removable storage capability for app containers.</summary>
692 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilitySharedUserCertificatesSid">
693 <summary>Indicates a SID for shared user certificates capability for app containers.</summary>
695 <member name="F:System.Security.Principal.WellKnownSidType.WinCapabilityVideosLibrarySid">
696 <summary>Indicates a SID for videos library capability for app containers.</summary>
698 <member name="F:System.Security.Principal.WellKnownSidType.WinConsoleLogonSid">
699 <summary>Indicates a SID that matches a console logon group.</summary>
701 <member name="F:System.Security.Principal.WellKnownSidType.WinCreatorOwnerRightsSid">
702 <summary>Indicates a SID that matches a creator and owner rights group.</summary>
704 <member name="F:System.Security.Principal.WellKnownSidType.WinEnterpriseReadonlyControllersSid">
705 <summary>Indicates a SID that matches an enterprise wide read-only controllers group.</summary>
707 <member name="F:System.Security.Principal.WellKnownSidType.WinHighLabelSid">
708 <summary>Indicates a SID that matches a high level of trust label.</summary>
710 <member name="F:System.Security.Principal.WellKnownSidType.WinIUserSid">
711 <summary>Indicates a SID that matches the Internet user group.</summary>
713 <member name="F:System.Security.Principal.WellKnownSidType.WinLocalLogonSid">
714 <summary>Indicates a SID that matches a local logon group.</summary>
716 <member name="F:System.Security.Principal.WellKnownSidType.WinLowLabelSid">
717 <summary>Indicates a SID that matches an low level of trust label.</summary>
719 <member name="F:System.Security.Principal.WellKnownSidType.WinMediumLabelSid">
720 <summary>Indicates a SID that matches an medium level of trust label.</summary>
722 <member name="F:System.Security.Principal.WellKnownSidType.WinMediumPlusLabelSid">
723 <summary>Indicates a SID that matches the medium plus integrity label.</summary>
725 <member name="F:System.Security.Principal.WellKnownSidType.WinNewEnterpriseReadonlyControllersSid">
726 <summary>Indicates a SID that matches a read-only enterprise domain controller.</summary>
728 <member name="F:System.Security.Principal.WellKnownSidType.WinNonCacheablePrincipalsGroupSid">
729 <summary>Indicates a SID that matches a non-cacheable principals group.</summary>
731 <member name="F:System.Security.Principal.WellKnownSidType.WinSystemLabelSid">
732 <summary>Indicates a SID that matches a system label.</summary>
734 <member name="F:System.Security.Principal.WellKnownSidType.WinThisOrganizationCertificateSid">
735 <summary>Indicates a SID that matches a certificate for the given organization.</summary>
737 <member name="F:System.Security.Principal.WellKnownSidType.WinUntrustedLabelSid">
738 <summary>Indicates a SID that matches an untrusted label.</summary>
740 <member name="F:System.Security.Principal.WellKnownSidType.WinWriteRestrictedCodeSid">
741 <summary>Indicates a SID that matches a write restricted code group.</summary>
743 <member name="F:System.Security.Principal.WellKnownSidType.WorldSid">
744 <summary>Indicates a SID that matches everyone.</summary>
746 <member name="T:System.Security.Principal.WindowsAccountType">
747 <summary>Specifies the type of Windows account used.</summary>
749 <member name="F:System.Security.Principal.WindowsAccountType.Anonymous">
750 <summary>An anonymous account.</summary>
752 <member name="F:System.Security.Principal.WindowsAccountType.Guest">
753 <summary>A Windows guest account.</summary>
755 <member name="F:System.Security.Principal.WindowsAccountType.Normal">
756 <summary>A standard user account.</summary>
758 <member name="F:System.Security.Principal.WindowsAccountType.System">
759 <summary>A Windows system account.</summary>
761 <member name="T:System.Security.Principal.WindowsBuiltInRole">
762 <summary>Specifies common roles to be used with <see cref="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)" />.</summary>
764 <member name="F:System.Security.Principal.WindowsBuiltInRole.AccountOperator">
765 <summary>Account operators manage the user accounts on a computer or domain.</summary>
767 <member name="F:System.Security.Principal.WindowsBuiltInRole.Administrator">
768 <summary>Administrators have complete and unrestricted access to the computer or domain.</summary>
770 <member name="F:System.Security.Principal.WindowsBuiltInRole.BackupOperator">
771 <summary>Backup operators can override security restrictions for the sole purpose of backing up or restoring files.</summary>
773 <member name="F:System.Security.Principal.WindowsBuiltInRole.Guest">
774 <summary>Guests are more restricted than users.</summary>
776 <member name="F:System.Security.Principal.WindowsBuiltInRole.PowerUser">
777 <summary>Power users possess most administrative permissions with some restrictions. Thus, power users can run legacy applications, in addition to certified applications.</summary>
779 <member name="F:System.Security.Principal.WindowsBuiltInRole.PrintOperator">
780 <summary>Print operators can take control of a printer.</summary>
782 <member name="F:System.Security.Principal.WindowsBuiltInRole.Replicator">
783 <summary>Replicators support file replication in a domain.</summary>
785 <member name="F:System.Security.Principal.WindowsBuiltInRole.SystemOperator">
786 <summary>System operators manage a particular computer.</summary>
788 <member name="F:System.Security.Principal.WindowsBuiltInRole.User">
789 <summary>Users are prevented from making accidental or intentional system-wide changes. Thus, users can run certified applications, but not most legacy applications.</summary>
791 <member name="T:System.Security.Principal.WindowsIdentity">
792 <summary>Represents a Windows user.</summary>
794 <member name="F:System.Security.Principal.WindowsIdentity.DefaultIssuer">
795 <summary>Identifies the name of the default <see cref="T:System.Security.Claims.ClaimsIdentity" /> issuer.</summary>
797 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr)">
798 <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>
799 <param name="userToken">The account token for the user on whose behalf the code is running.</param>
800 <exception cref="T:System.ArgumentException">
801 <paramref name="userToken" /> is 0.
805 <paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
806 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
810 A Win32 error occurred.</exception>
812 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String)">
813 <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>
814 <param name="userToken">The account token for the user on whose behalf the code is running.</param>
815 <param name="type">(Informational use only.) The type of authentication used to identify the user.</param>
816 <exception cref="T:System.ArgumentException">
817 <paramref name="userToken" /> is 0.
821 <paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
822 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
826 A Win32 error occurred.</exception>
828 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String,System.Security.Principal.WindowsAccountType)">
829 <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>
830 <param name="userToken">The account token for the user on whose behalf the code is running.</param>
831 <param name="type">(Informational use only.) The type of authentication used to identify the user.</param>
832 <param name="acctType">One of the enumeration values.</param>
833 <exception cref="T:System.ArgumentException">
834 <paramref name="userToken" /> is 0.
838 <paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
839 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
843 A Win32 error occurred.</exception>
845 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String,System.Security.Principal.WindowsAccountType,System.Boolean)">
846 <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>
847 <param name="userToken">The account token for the user on whose behalf the code is running.</param>
848 <param name="type">(Informational use only.) The type of authentication used to identify the user.</param>
849 <param name="acctType">One of the enumeration values.</param>
850 <param name="isAuthenticated">
851 <see langword="true" /> to indicate that the user is authenticated; otherwise, <see langword="false" />.</param>
852 <exception cref="T:System.ArgumentException">
853 <paramref name="userToken" /> is 0.
857 <paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
858 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
862 A Win32 error occurred.</exception>
864 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
865 <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>
866 <param name="info">The object containing the account information for the user.</param>
867 <param name="context">An object that indicates the stream characteristics.</param>
868 <exception cref="T:System.NotSupportedException">A <see cref="T:System.Security.Principal.WindowsIdentity" /> cannot be serialized across processes.</exception>
869 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
873 A Win32 error occurred.</exception>
875 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.Security.Principal.WindowsIdentity)">
876 <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>
877 <param name="identity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.WindowsIdentity" />.</param>
879 <member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.String)">
880 <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>
881 <param name="sUserPrincipalName">The UPN for the user on whose behalf the code is running.</param>
882 <exception cref="T:System.UnauthorizedAccessException">Windows returned the Windows NT status code STATUS_ACCESS_DENIED.</exception>
883 <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
884 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
888 The computer is not attached to a Windows 2003 or later domain.
892 The computer is not running Windows 2003 or later.
896 The user is not a member of the domain the computer is attached to.</exception>
898 <member name="M:System.Security.Principal.WindowsIdentity.Clone">
899 <summary>Creates a new object that is a copy of the current instance.</summary>
900 <returns>A copy of the current instance.</returns>
902 <member name="M:System.Security.Principal.WindowsIdentity.Dispose">
903 <summary>Releases all resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" />.</summary>
905 <member name="M:System.Security.Principal.WindowsIdentity.Dispose(System.Boolean)">
906 <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" /> and optionally releases the managed resources.</summary>
907 <param name="disposing">
908 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
910 <member name="M:System.Security.Principal.WindowsIdentity.GetAnonymous">
911 <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>
912 <returns>An object that represents an anonymous user.</returns>
914 <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent">
915 <summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity" /> object that represents the current Windows user.</summary>
916 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.</exception>
917 <returns>An object that represents the current user.</returns>
919 <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Boolean)">
920 <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>
921 <param name="ifImpersonating">
922 <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>
923 <returns>An object that represents a Windows user.</returns>
925 <member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Security.Principal.TokenAccessLevels)">
926 <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>
927 <param name="desiredAccess">A bitwise combination of the enumeration values.</param>
928 <returns>An object that represents the current user.</returns>
930 <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)">
931 <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>
932 <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
933 <param name="action">The System.Action to run.</param>
935 <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated``1(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{``0})">
936 <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>
937 <param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
938 <param name="func">The System.Func to run.</param>
939 <typeparam name="T">The type of object used by and returned by the function.</typeparam>
940 <returns>The result of the function.</returns>
942 <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonatedAsync(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{System.Threading.Tasks.Task})">
943 <summary>Runs the specified asynchronous action as the impersonated Windows identity.</summary>
944 <param name="safeAccessTokenHandle">The handle of the impersonated Windows identity.</param>
945 <param name="func">The function to run.</param>
946 <returns>A task that represents the asynchronous operation of the provided <see cref="T:System.Func`1" />.</returns>
948 <member name="M:System.Security.Principal.WindowsIdentity.RunImpersonatedAsync``1(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{System.Threading.Tasks.Task{``0}})">
949 <summary>Runs the specified asynchronous action as the impersonated Windows identity.</summary>
950 <param name="safeAccessTokenHandle">The handle of the impersonated Windows identity.</param>
951 <param name="func">The function to run.</param>
952 <typeparam name="T">The type of the object to return.</typeparam>
953 <returns>A task that represents the asynchronous operation of <paramref name="func" />.</returns>
955 <member name="M:System.Security.Principal.WindowsIdentity.System#Runtime#Serialization#IDeserializationCallback#OnDeserialization(System.Object)">
956 <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and is called back by the deserialization event when deserialization is complete.</summary>
957 <param name="sender">The source of the deserialization event.</param>
959 <member name="M:System.Security.Principal.WindowsIdentity.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
960 <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>
961 <param name="info">An object containing the information required to serialize the <see cref="T:System.Collections.Hashtable" />.</param>
962 <param name="context">An object containing the source and destination of the serialized stream associated with the <see cref="T:System.Collections.Hashtable" />.</param>
964 <member name="P:System.Security.Principal.WindowsIdentity.AccessToken">
965 <summary>Gets this <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> for this <see cref="T:System.Security.Principal.WindowsIdentity" /> instance.</summary>
966 <returns>Returns a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" />.</returns>
968 <member name="P:System.Security.Principal.WindowsIdentity.AuthenticationType">
969 <summary>Gets the type of authentication used to identify the user.</summary>
970 <exception cref="T:System.UnauthorizedAccessException">Windows returned the Windows NT status code STATUS_ACCESS_DENIED.</exception>
971 <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
972 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions.
976 The computer is not attached to a Windows 2003 or later domain.
980 The computer is not running Windows 2003 or later.
984 The user is not a member of the domain the computer is attached to.</exception>
985 <returns>The type of authentication used to identify the user.</returns>
987 <member name="P:System.Security.Principal.WindowsIdentity.Claims">
988 <summary>Gets all claims for the user represented by this Windows identity.</summary>
989 <returns>A collection of claims for this <see cref="T:System.Security.Principal.WindowsIdentity" /> object.</returns>
991 <member name="P:System.Security.Principal.WindowsIdentity.DeviceClaims">
992 <summary>Gets claims that have the <see cref="F:System.Security.Claims.ClaimTypes.WindowsDeviceClaim" /> property key.</summary>
993 <returns>A collection of claims that have the <see cref="F:System.Security.Claims.ClaimTypes.WindowsDeviceClaim" /> property key.</returns>
995 <member name="P:System.Security.Principal.WindowsIdentity.Groups">
996 <summary>Gets the groups the current Windows user belongs to.</summary>
997 <returns>An object representing the groups the current Windows user belongs to.</returns>
999 <member name="P:System.Security.Principal.WindowsIdentity.ImpersonationLevel">
1000 <summary>Gets the impersonation level for the user.</summary>
1001 <returns>One of the enumeration values that specifies the impersonation level.</returns>
1003 <member name="P:System.Security.Principal.WindowsIdentity.IsAnonymous">
1004 <summary>Gets a value that indicates whether the user account is identified as an anonymous account by the system.</summary>
1006 <see langword="true" /> if the user account is an anonymous account; otherwise, <see langword="false" />.</returns>
1008 <member name="P:System.Security.Principal.WindowsIdentity.IsAuthenticated">
1009 <summary>Gets a value indicating whether the user has been authenticated by Windows.</summary>
1011 <see langword="true" /> if the user was authenticated; otherwise, <see langword="false" />.</returns>
1013 <member name="P:System.Security.Principal.WindowsIdentity.IsGuest">
1014 <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>
1016 <see langword="true" /> if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.Guest" /> account; otherwise, <see langword="false" />.</returns>
1018 <member name="P:System.Security.Principal.WindowsIdentity.IsSystem">
1019 <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>
1021 <see langword="true" /> if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.System" /> account; otherwise, <see langword="false" />.</returns>
1023 <member name="P:System.Security.Principal.WindowsIdentity.Name">
1024 <summary>Gets the user's Windows logon name.</summary>
1025 <returns>The Windows logon name of the user on whose behalf the code is being run.</returns>
1027 <member name="P:System.Security.Principal.WindowsIdentity.Owner">
1028 <summary>Gets the security identifier (SID) for the token owner.</summary>
1029 <returns>An object for the token owner.</returns>
1031 <member name="P:System.Security.Principal.WindowsIdentity.Token">
1032 <summary>Gets the Windows account token for the user.</summary>
1033 <returns>The handle of the access token associated with the current execution thread.</returns>
1035 <member name="P:System.Security.Principal.WindowsIdentity.User">
1036 <summary>Gets the security identifier (SID) for the user.</summary>
1037 <returns>An object for the user.</returns>
1039 <member name="P:System.Security.Principal.WindowsIdentity.UserClaims">
1040 <summary>Gets claims that have the <see cref="F:System.Security.Claims.ClaimTypes.WindowsUserClaim" /> property key.</summary>
1041 <returns>A collection of claims that have the <see cref="F:System.Security.Claims.ClaimTypes.WindowsUserClaim" /> property key.</returns>
1043 <member name="T:System.Security.Principal.WindowsPrincipal">
1044 <summary>Enables code to check the Windows group membership of a Windows user.</summary>
1046 <member name="M:System.Security.Principal.WindowsPrincipal.#ctor(System.Security.Principal.WindowsIdentity)">
1047 <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>
1048 <param name="ntIdentity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.WindowsPrincipal" />.</param>
1049 <exception cref="T:System.ArgumentNullException">
1050 <paramref name="ntIdentity" /> is <see langword="null" />.</exception>
1052 <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Int32)">
1053 <summary>Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).</summary>
1054 <param name="rid">The RID of the Windows user group in which to check for the principal's membership status.</param>
1056 <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>
1058 <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.SecurityIdentifier)">
1059 <summary>Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).</summary>
1060 <param name="sid">A <see cref="T:System.Security.Principal.SecurityIdentifier" /> that uniquely identifies a Windows user group.</param>
1061 <exception cref="T:System.ArgumentNullException">
1062 <paramref name="sid" /> is <see langword="null" />.</exception>
1063 <exception cref="T:System.Security.SecurityException">Windows returned a Win32 error.</exception>
1065 <see langword="true" /> if the current principal is a member of the specified Windows user group; otherwise, <see langword="false" />.</returns>
1067 <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.WindowsBuiltInRole)">
1068 <summary>Determines whether the current principal belongs to the Windows user group with the specified <see cref="T:System.Security.Principal.WindowsBuiltInRole" />.</summary>
1069 <param name="role">One of the <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> values.</param>
1070 <exception cref="T:System.ArgumentException">
1071 <paramref name="role" /> is not a valid <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> value.</exception>
1073 <see langword="true" /> if the current principal is a member of the specified Windows user group; otherwise, <see langword="false" />.</returns>
1075 <member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)">
1076 <summary>Determines whether the current principal belongs to the Windows user group with the specified name.</summary>
1077 <param name="role">The name of the Windows user group for which to check membership.</param>
1079 <see langword="true" /> if the current principal is a member of the specified Windows user group; otherwise, <see langword="false" />.</returns>
1081 <member name="P:System.Security.Principal.WindowsPrincipal.DeviceClaims">
1082 <summary>Gets all Windows device claims from this principal.</summary>
1083 <returns>A collection of all Windows device claims from this principal.</returns>
1085 <member name="P:System.Security.Principal.WindowsPrincipal.Identity">
1086 <summary>Gets the identity of the current principal.</summary>
1087 <returns>The <see cref="T:System.Security.Principal.WindowsIdentity" /> object of the current principal.</returns>
1089 <member name="P:System.Security.Principal.WindowsPrincipal.UserClaims">
1090 <summary>Gets all Windows user claims from this principal.</summary>
1091 <returns>A collection of all Windows user claims from this principal.</returns>