|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<doc>
|
|
|
<assembly>
|
|
|
<name>System.Security.Principal.Windows</name>
|
|
|
</assembly>
|
|
|
<members>
|
|
|
<member name="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle">
|
|
|
<summary>[SECURITY CRITICAL] Provides a safe handle to a Windows thread or process access token. For more information see Access Tokens</summary>
|
|
|
</member>
|
|
|
<member name="M:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.#ctor(System.IntPtr)">
|
|
|
<summary>[SECURITY CRITICAL] Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> class.</summary>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.InvalidHandle">
|
|
|
<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>
|
|
|
<returns>Returns a<see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="P:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle.IsInvalid">
|
|
|
<summary>[SECURITY CRITICAL] Gets a value that indicates whether the handle is invalid.</summary>
|
|
|
<returns>true if the handle is not valid; otherwise, false.</returns>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.IdentityNotMappedException">
|
|
|
<summary>Represents an exception for a principal whose identity could not be mapped to a known identity.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityNotMappedException.#ctor">
|
|
|
<summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String)">
|
|
|
<summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class by using the specified error message.</summary>
|
|
|
<param name="message">The error message that explains the reason for the exception.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityNotMappedException.#ctor(System.String,System.Exception)">
|
|
|
<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>
|
|
|
<param name="message">The error message that explains the reason for the exception.</param>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.IdentityNotMappedException.UnmappedIdentities">
|
|
|
<summary>Represents the collection of unmapped identities for an <see cref="T:System.Security.Principal.IdentityNotMappedException" /> exception.</summary>
|
|
|
<returns>The collection of unmapped identities.</returns>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.IdentityReference">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.Equals(System.Object)">
|
|
|
<summary>Returns a value that indicates whether the specified object equals this instance of the <see cref="T:System.Security.Principal.IdentityReference" /> class.</summary>
|
|
|
<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>
|
|
|
<param name="o">An object to compare with this <see cref="T:System.Security.Principal.IdentityReference" /> instance, or a null reference.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.GetHashCode">
|
|
|
<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>
|
|
|
<returns>The hash code for this <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.IsValidTargetType(System.Type)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.IdentityReference" /> class; otherwise, false.</returns>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.op_Equality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, false.</returns>
|
|
|
<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>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.op_Inequality(System.Security.Principal.IdentityReference,System.Security.Principal.IdentityReference)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, false.</returns>
|
|
|
<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>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.ToString">
|
|
|
<summary>Returns the string representation of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
|
|
|
<returns>The identity in string format.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReference.Translate(System.Type)">
|
|
|
<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>
|
|
|
<returns>The converted identity.</returns>
|
|
|
<param name="targetType">The target type for the conversion from <see cref="T:System.Security.Principal.IdentityReference" />. </param>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.IdentityReference.Value">
|
|
|
<summary>Gets the string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
|
|
|
<returns>The string value of the identity represented by the <see cref="T:System.Security.Principal.IdentityReference" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.IdentityReferenceCollection">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor">
|
|
|
<summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class with zero items in the collection.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.#ctor(System.Int32)">
|
|
|
<summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> class by using the specified initial size.</summary>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Add(System.Security.Principal.IdentityReference)">
|
|
|
<summary>Adds an <see cref="T:System.Security.Principal.IdentityReference" /> object to the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
<param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to add to the collection.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Clear">
|
|
|
<summary>Clears all <see cref="T:System.Security.Principal.IdentityReference" /> objects from the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Contains(System.Security.Principal.IdentityReference)">
|
|
|
<summary>Indicates whether the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection contains the specified <see cref="T:System.Security.Principal.IdentityReference" /> object.</summary>
|
|
|
<returns>true if the collection contains the specified object.</returns>
|
|
|
<param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to check for.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.CopyTo(System.Security.Principal.IdentityReference[],System.Int32)">
|
|
|
<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>
|
|
|
<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>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.IdentityReferenceCollection.Count">
|
|
|
<summary>Gets the number of items in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
<returns>The number of <see cref="T:System.Security.Principal.IdentityReference" /> objects in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.GetEnumerator">
|
|
|
<summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
<returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.IdentityReferenceCollection.Item(System.Int32)">
|
|
|
<summary>Sets or gets the node at the specified index of the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
<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>
|
|
|
<param name="index">The zero-based index in the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Remove(System.Security.Principal.IdentityReference)">
|
|
|
<summary>Removes the specified <see cref="T:System.Security.Principal.IdentityReference" /> object from the collection.</summary>
|
|
|
<returns>true if the specified object was removed from the collection.</returns>
|
|
|
<param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> object to remove.</param>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.IdentityReferenceCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"></member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.System#Collections#IEnumerable#GetEnumerator">
|
|
|
<summary>Gets an enumerator that can be used to iterate through the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</summary>
|
|
|
<returns>An enumerator for the <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type)">
|
|
|
<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>
|
|
|
<returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
|
|
|
<param name="targetType">The type to which items in the collection are being converted.</param>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.IdentityReferenceCollection.Translate(System.Type,System.Boolean)">
|
|
|
<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>
|
|
|
<returns>A <see cref="T:System.Security.Principal.IdentityReferenceCollection" /> collection that represents the converted contents of the original collection.</returns>
|
|
|
<param name="targetType">The type to which items in the collection are being converted.</param>
|
|
|
<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>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.NTAccount">
|
|
|
<summary>Represents a user or group account.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.#ctor(System.String)">
|
|
|
<summary>Initializes a new instance of the <see cref="T:System.Security.Principal.NTAccount" /> class by using the specified name.</summary>
|
|
|
<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>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="name" /> is null.</exception>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="name" /> is an empty string.-or-<paramref name="name" /> is too long.</exception>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.#ctor(System.String,System.String)">
|
|
|
<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>
|
|
|
<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>
|
|
|
<param name="accountName">The name of the account. This parameter cannot be null or an empty string.</param>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="accountName" /> is null.</exception>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="accountName" /> is an empty string.-or-<paramref name="accountName" /> is too long.-or-<paramref name="domainName" /> is too long.</exception>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.Equals(System.Object)">
|
|
|
<summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.NTAccount" /> object is equal to a specified object.</summary>
|
|
|
<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>
|
|
|
<param name="o">An object to compare with this <see cref="T:System.Security.Principal.NTAccount" /> object, or null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.GetHashCode">
|
|
|
<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>
|
|
|
<returns>A hash value for the current <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.IsValidTargetType(System.Type)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.NTAccount" /> class; otherwise false.</returns>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.op_Equality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise false.</returns>
|
|
|
<param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
|
|
|
<param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.op_Inequality(System.Security.Principal.NTAccount,System.Security.Principal.NTAccount)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise false.</returns>
|
|
|
<param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
|
|
|
<param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.ToString">
|
|
|
<summary>Returns the account name, in Domain\Account format, for the account represented by the <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
|
|
|
<returns>The account name, in Domain\Account format.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.NTAccount.Translate(System.Type)">
|
|
|
<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>
|
|
|
<returns>The converted identity.</returns>
|
|
|
<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>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="targetType " />is null.</exception>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="targetType " />is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
|
|
|
<exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
|
|
|
<exception cref="T:System.SystemException">The source account name is too long.-or-A Win32 error code was returned.</exception>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.NTAccount.Value">
|
|
|
<summary>Returns an uppercase string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</summary>
|
|
|
<returns>The uppercase string representation of this <see cref="T:System.Security.Principal.NTAccount" /> object.</returns>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.SecurityIdentifier">
|
|
|
<summary>Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Byte[],System.Int32)">
|
|
|
<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>
|
|
|
<param name="binaryForm">The byte array that represents the SID.</param>
|
|
|
<param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />. </param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.IntPtr)">
|
|
|
<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>
|
|
|
<param name="binaryForm">An integer that represents the binary form of a SID.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.Security.Principal.WellKnownSidType,System.Security.Principal.SecurityIdentifier)">
|
|
|
<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>
|
|
|
<param name="sidType">One of the enumeration values. This value must not be <see cref="F:System.Security.Principal.WellKnownSidType.LogonIdsSid" />.</param>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.#ctor(System.String)">
|
|
|
<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>
|
|
|
<param name="sddlForm">SDDL string for the SID used to create the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.SecurityIdentifier.AccountDomainSid">
|
|
|
<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>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.SecurityIdentifier.BinaryLength">
|
|
|
<summary>Returns the length, in bytes, of the security identifier (SID) represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
|
|
<returns>The length, in bytes, of the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.CompareTo(System.Security.Principal.SecurityIdentifier)">
|
|
|
<summary>Compares the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object with the specified <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
|
|
<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>
|
|
|
<param name="sid">The object to compare with the current object.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Object)">
|
|
|
<summary>Returns a value that indicates whether this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object is equal to a specified object.</summary>
|
|
|
<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>
|
|
|
<param name="o">An object to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object, or null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.Equals(System.Security.Principal.SecurityIdentifier)">
|
|
|
<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>
|
|
|
<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>
|
|
|
<param name="sid">The object to compare with the current object.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.GetBinaryForm(System.Byte[],System.Int32)">
|
|
|
<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>
|
|
|
<param name="binaryForm">The byte array to receive the copied SID.</param>
|
|
|
<param name="offset">The byte offset to use as the starting index in <paramref name="binaryForm" />. </param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.GetHashCode">
|
|
|
<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>
|
|
|
<returns>A hash value for the current <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.IsAccountSid">
|
|
|
<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>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.IsEqualDomainSid(System.Security.Principal.SecurityIdentifier)">
|
|
|
<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>
|
|
|
<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>
|
|
|
<param name="sid">The SID to compare with this <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.IsValidTargetType(System.Type)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="targetType" /> is a valid translation type for the <see cref="T:System.Security.Principal.SecurityIdentifier" /> class; otherwise, false.</returns>
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.IsWellKnown(System.Security.Principal.WellKnownSidType)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="type" /> is the SID type for the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object; otherwise, false.</returns>
|
|
|
<param name="type">A value to compare with the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</param>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.SecurityIdentifier.MaxBinaryLength">
|
|
|
<summary>Returns the maximum size, in bytes, of the binary representation of the security identifier.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.SecurityIdentifier.MinBinaryLength">
|
|
|
<summary>Returns the minimum size, in bytes, of the binary representation of the security identifier.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.op_Equality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, false.</returns>
|
|
|
<param name="left">The left operand to use for the equality comparison. This parameter can be null.</param>
|
|
|
<param name="right">The right operand to use for the equality comparison. This parameter can be null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.op_Inequality(System.Security.Principal.SecurityIdentifier,System.Security.Principal.SecurityIdentifier)">
|
|
|
<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>
|
|
|
<returns>true if <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, false.</returns>
|
|
|
<param name="left">The left operand to use for the inequality comparison. This parameter can be null.</param>
|
|
|
<param name="right">The right operand to use for the inequality comparison. This parameter can be null.</param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.ToString">
|
|
|
<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>
|
|
|
<returns>The SID, in SDDL format, for the account represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.SecurityIdentifier.Translate(System.Type)">
|
|
|
<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>
|
|
|
<returns>The converted identity.</returns>
|
|
|
<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>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="targetType " />is null.</exception>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="targetType " />is not an <see cref="T:System.Security.Principal.IdentityReference" /> type.</exception>
|
|
|
<exception cref="T:System.Security.Principal.IdentityNotMappedException">Some or all identity references could not be translated.</exception>
|
|
|
<exception cref="T:System.SystemException">A Win32 error code was returned.</exception>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.SecurityIdentifier.Value">
|
|
|
<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>
|
|
|
<returns>An uppercase SDDL string for the SID represented by the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</returns>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.TokenAccessLevels">
|
|
|
<summary>Defines the privileges of the user account associated with the access token. </summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AdjustDefault">
|
|
|
<summary>The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AdjustGroups">
|
|
|
<summary>The user can change the attributes of the groups in the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges">
|
|
|
<summary>The user can enable or disable privileges in the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AdjustSessionId">
|
|
|
<summary>The user can adjust the session identifier of the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AllAccess">
|
|
|
<summary>The user has all possible access to the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.AssignPrimary">
|
|
|
<summary>The user can attach a primary token to a process.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.Duplicate">
|
|
|
<summary>The user can duplicate the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.Impersonate">
|
|
|
<summary>The user can impersonate a client.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.MaximumAllowed">
|
|
|
<summary>The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels" /> enumeration.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.Query">
|
|
|
<summary>The user can query the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.QuerySource">
|
|
|
<summary>The user can query the source of the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.Read">
|
|
|
<summary>The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query" /> privilege for the token.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.TokenAccessLevels.Write">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.WellKnownSidType">
|
|
|
<summary>Defines a set of commonly used security identifiers (SIDs).</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountAdministratorSid">
|
|
|
<summary>Indicates a SID that matches the account administrators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountCertAdminsSid">
|
|
|
<summary>Indicates a SID that matches the certificate administrators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountComputersSid">
|
|
|
<summary>Indicates a SID that matches the account computer group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountControllersSid">
|
|
|
<summary>Indicates a SID that matches the account controller group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountDomainAdminsSid">
|
|
|
<summary>Indicates a SID that matches the account domain administrator group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountDomainGuestsSid">
|
|
|
<summary>Indicates a SID that matches the account domain guests group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountDomainUsersSid">
|
|
|
<summary>Indicates a SID that matches the account domain users group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountEnterpriseAdminsSid">
|
|
|
<summary>Indicates a SID that matches the enterprise administrators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountGuestSid">
|
|
|
<summary>Indicates a SID that matches the account guest group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountKrbtgtSid">
|
|
|
<summary>Indicates a SID that matches the account Kerberos target group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountPolicyAdminsSid">
|
|
|
<summary>Indicates a SID that matches the policy administrators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountRasAndIasServersSid">
|
|
|
<summary>Indicates a SID that matches the RAS and IAS server account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AccountSchemaAdminsSid">
|
|
|
<summary>Indicates a SID that matches the schema administrators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AnonymousSid">
|
|
|
<summary>Indicates a SID for the anonymous account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.AuthenticatedUserSid">
|
|
|
<summary>Indicates a SID for an authenticated user.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BatchSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinAccountOperatorsSid">
|
|
|
<summary>Indicates a SID that matches the account operators account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinAdministratorsSid">
|
|
|
<summary>Indicates a SID that matches the administrator account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinAuthorizationAccessSid">
|
|
|
<summary>Indicates a SID that matches the Windows Authorization Access group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinBackupOperatorsSid">
|
|
|
<summary>Indicates a SID that matches the backup operators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinDomainSid">
|
|
|
<summary>Indicates a SID that matches the domain account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinGuestsSid">
|
|
|
<summary>Indicates a SID that matches the guest account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinIncomingForestTrustBuildersSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinNetworkConfigurationOperatorsSid">
|
|
|
<summary>Indicates a SID that matches the network operators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceLoggingUsersSid">
|
|
|
<summary>Indicates a SID that matches the group of users that have remote access to monitor the computer.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinPerformanceMonitoringUsersSid">
|
|
|
<summary>Indicates a SID that matches the group of users that have remote access to schedule logging of performance counters on this computer.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinPowerUsersSid">
|
|
|
<summary>Indicates a SID that matches the power users group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinPreWindows2000CompatibleAccessSid">
|
|
|
<summary>Indicates a SID that matches pre-Windows 2000 compatible accounts.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinPrintOperatorsSid">
|
|
|
<summary>Indicates a SID that matches the print operators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinRemoteDesktopUsersSid">
|
|
|
<summary>Indicates a SID that matches remote desktop users.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinReplicatorSid">
|
|
|
<summary>Indicates a SID that matches the replicator account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinSystemOperatorsSid">
|
|
|
<summary>Indicates a SID that matches the system operators group.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.BuiltinUsersSid">
|
|
|
<summary>Indicates a SID that matches built-in user accounts.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupServerSid">
|
|
|
<summary>Indicates a creator group server SID.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.CreatorGroupSid">
|
|
|
<summary>Indicates a SID that matches the creator group of an object.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerServerSid">
|
|
|
<summary>Indicates a creator owner server SID.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.CreatorOwnerSid">
|
|
|
<summary>Indicates a SID that matches the owner or creator of an object.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.DialupSid">
|
|
|
<summary>Indicates a SID for a dial-up account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.DigestAuthenticationSid">
|
|
|
<summary>Indicates a SID present when the Microsoft Digest authentication package authenticated the client.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.EnterpriseControllersSid">
|
|
|
<summary>Indicates a SID for an enterprise controller.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.InteractiveSid">
|
|
|
<summary>Indicates a SID for an interactive account. This SID is added to the process of a token when it logs on interactively.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.LocalServiceSid">
|
|
|
<summary>Indicates a SID that matches a local service.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.LocalSid">
|
|
|
<summary>Indicates a local SID.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.LocalSystemSid">
|
|
|
<summary>Indicates a SID that matches the local system.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.LogonIdsSid">
|
|
|
<summary>Indicates a SID that matches logon IDs.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.MaxDefined">
|
|
|
<summary>Indicates the maximum defined SID in the <see cref="T:System.Security.Principal.WellKnownSidType" /> enumeration.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.NetworkServiceSid">
|
|
|
<summary>Indicates a SID that matches a network service.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.NetworkSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.NTAuthoritySid">
|
|
|
<summary>Indicates a SID for the Windows NT authority.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.NtlmAuthenticationSid">
|
|
|
<summary>Indicates a SID present when the Microsoft NTLM authentication package authenticated the client.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.NullSid">
|
|
|
<summary>Indicates a null SID.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.OtherOrganizationSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.ProxySid">
|
|
|
<summary>Indicates a proxy SID.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.RemoteLogonIdSid">
|
|
|
<summary>Indicates a SID that matches remote logons.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.RestrictedCodeSid">
|
|
|
<summary>Indicates a SID for restricted code.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.SChannelAuthenticationSid">
|
|
|
<summary>Indicates a SID present when the Secure Channel (SSL/TLS) authentication package authenticated the client.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.SelfSid">
|
|
|
<summary>Indicates a SID for self.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.ServiceSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.TerminalServerSid">
|
|
|
<summary>Indicates a SID that matches a terminal server account.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.ThisOrganizationSid">
|
|
|
<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>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.WinBuiltinTerminalServerLicenseServersSid">
|
|
|
<summary>Indicates a SID is present in a server that can issue Terminal Server licenses.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WellKnownSidType.WorldSid">
|
|
|
<summary>Indicates a SID that matches everyone.</summary>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.WindowsBuiltInRole">
|
|
|
<summary>Specifies common roles to be used with <see cref="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)" />.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.AccountOperator">
|
|
|
<summary>Account operators manage the user accounts on a computer or domain.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.Administrator">
|
|
|
<summary>Administrators have complete and unrestricted access to the computer or domain.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.BackupOperator">
|
|
|
<summary>Backup operators can override security restrictions for the sole purpose of backing up or restoring files.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.Guest">
|
|
|
<summary>Guests are more restricted than users.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.PowerUser">
|
|
|
<summary>Power users possess most administrative permissions with some restrictions. Thus, power users can run legacy applications, in addition to certified applications.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.PrintOperator">
|
|
|
<summary>Print operators can take control of a printer.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.Replicator">
|
|
|
<summary>Replicators support file replication in a domain.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.SystemOperator">
|
|
|
<summary>System operators manage a particular computer.</summary>
|
|
|
</member>
|
|
|
<member name="F:System.Security.Principal.WindowsBuiltInRole.User">
|
|
|
<summary>Users are prevented from making accidental or intentional system-wide changes. Thus, users can run certified applications, but not most legacy applications.</summary>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.WindowsIdentity">
|
|
|
<summary>Represents a Windows user.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr)">
|
|
|
<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>
|
|
|
<param name="userToken">The account token for the user on whose behalf the code is running. </param>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="userToken" /> is 0.-or-<paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
|
|
|
<exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. -or-A Win32 error occurred.</exception>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.#ctor(System.IntPtr,System.String)">
|
|
|
<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>
|
|
|
<param name="userToken">The account token for the user on whose behalf the code is running. </param>
|
|
|
<param name="type">(Informational use only.) The type of authentication used to identify the user. For more information, see Remarks.</param>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="userToken" /> is 0.-or-<paramref name="userToken" /> is duplicated and invalid for impersonation.</exception>
|
|
|
<exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. -or-A Win32 error occurred.</exception>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.AccessToken">
|
|
|
<summary>[SECURITY CRITICAL] Gets this <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" /> for this <see cref="T:System.Security.Principal.WindowsIdentity" /> instance. </summary>
|
|
|
<returns>Returns a <see cref="T:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle" />.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.Dispose">
|
|
|
<summary>Releases all resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" />. </summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.Dispose(System.Boolean)">
|
|
|
<summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Principal.WindowsIdentity" /> and optionally releases the managed resources. </summary>
|
|
|
<param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.GetAnonymous">
|
|
|
<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>
|
|
|
<returns>An object that represents an anonymous user.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.GetCurrent">
|
|
|
<summary>Returns a <see cref="T:System.Security.Principal.WindowsIdentity" /> object that represents the current Windows user.</summary>
|
|
|
<returns>An object that represents the current user.</returns>
|
|
|
<exception cref="T:System.Security.SecurityException">The caller does not have the correct permissions. </exception>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Boolean)">
|
|
|
<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>
|
|
|
<returns>An object that represents a Windows user.</returns>
|
|
|
<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>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.GetCurrent(System.Security.Principal.TokenAccessLevels)">
|
|
|
<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>
|
|
|
<returns>An object that represents the current user.</returns>
|
|
|
<param name="desiredAccess">A bitwise combination of the enumeration values. </param>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlPrincipal" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.Groups">
|
|
|
<summary>Gets the groups the current Windows user belongs to.</summary>
|
|
|
<returns>An object representing the groups the current Windows user belongs to.</returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.ImpersonationLevel">
|
|
|
<summary>Gets the impersonation level for the user.</summary>
|
|
|
<returns>One of the enumeration values that specifies the impersonation level. </returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.IsAnonymous">
|
|
|
<summary>Gets a value that indicates whether the user account is identified as an anonymous account by the system.</summary>
|
|
|
<returns>true if the user account is an anonymous account; otherwise, false.</returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.IsGuest">
|
|
|
<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>
|
|
|
<returns>true if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.Guest" /> account; otherwise, false.</returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.IsSystem">
|
|
|
<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>
|
|
|
<returns>true if the user account is a <see cref="F:System.Security.Principal.WindowsAccountType.System" /> account; otherwise, false.</returns>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.Owner">
|
|
|
<summary>Gets the security identifier (SID) for the token owner.</summary>
|
|
|
<returns>An object for the token owner.</returns>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Action)">
|
|
|
<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>
|
|
|
<param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
|
|
|
<param name="action">The System.Action to run. </param>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsIdentity.RunImpersonated``1(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle,System.Func{``0})">
|
|
|
<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>
|
|
|
<returns>Returns the result of the function.</returns>
|
|
|
<param name="safeAccessTokenHandle">The SafeAccessTokenHandle of the impersonated Windows identity.</param>
|
|
|
<param name="func">The System.Func to run.</param>
|
|
|
<typeparam name="T">The type of object used by and returned by the function.</typeparam>
|
|
|
</member>
|
|
|
<member name="P:System.Security.Principal.WindowsIdentity.User">
|
|
|
<summary>Gets the security identifier (SID) for the user.</summary>
|
|
|
<returns>An object for the user.</returns>
|
|
|
</member>
|
|
|
<member name="T:System.Security.Principal.WindowsPrincipal">
|
|
|
<summary>Enables code to check the Windows group membership of a Windows user.</summary>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsPrincipal.#ctor(System.Security.Principal.WindowsIdentity)">
|
|
|
<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>
|
|
|
<param name="ntIdentity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.WindowsPrincipal" />. </param>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="ntIdentity" /> is null. </exception>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Int32)">
|
|
|
<summary>Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).</summary>
|
|
|
<returns>true if the current principal is a member of the specified Windows user group, that is, in a particular role; otherwise, false.</returns>
|
|
|
<param name="rid">The RID of the Windows user group in which to check for the principal’s membership status. </param>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.SecurityIdentifier)">
|
|
|
<summary>Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).</summary>
|
|
|
<returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
|
|
|
<param name="sid">A <see cref="T:System.Security.Principal.SecurityIdentifier" /> that uniquely identifies a Windows user group.</param>
|
|
|
<exception cref="T:System.ArgumentNullException">
|
|
|
<paramref name="sid" /> is null.</exception>
|
|
|
<exception cref="T:System.Security.SecurityException">Windows returned a Win32 error.</exception>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
<member name="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.Security.Principal.WindowsBuiltInRole)">
|
|
|
<summary>Determines whether the current principal belongs to the Windows user group with the specified <see cref="T:System.Security.Principal.WindowsBuiltInRole" />.</summary>
|
|
|
<returns>true if the current principal is a member of the specified Windows user group; otherwise, false.</returns>
|
|
|
<param name="role">One of the <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> values. </param>
|
|
|
<exception cref="T:System.ArgumentException">
|
|
|
<paramref name="role" /> is not a valid <see cref="T:System.Security.Principal.WindowsBuiltInRole" /> value.</exception>
|
|
|
<PermissionSet>
|
|
|
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
|
</PermissionSet>
|
|
|
</member>
|
|
|
</members>
|
|
|
</doc> |