1391 lines
170 KiB
XML
1391 lines
170 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<doc>
|
|||
|
<assembly>
|
|||
|
<name>System.DirectoryServices.AccountManagement</name>
|
|||
|
</assembly>
|
|||
|
<members>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.AdvancedFilters">
|
|||
|
<summary>This class provides writable access to certain attributes so that users can modify read-only properties of the "dummy" principal object that is passed to a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" /> object when using Query By Example</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.#ctor(System.DirectoryServices.AccountManagement.Principal)">
|
|||
|
<summary>Instantiates a new <see cref="M:System.DirectoryServices.AccountManagement.AdvancedFilters" /> object. Not intended to be called directly.</summary>
|
|||
|
<param name="p"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.AccountExpirationDate(System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the query filter for the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.AccountExpirationDate" /> attribute to the specified time and comparison type.</summary>
|
|||
|
<param name="expirationTime">A <see cref="T:System.DateTime" /> object.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.AccountLockoutTime(System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.AccountLockoutTime" /> query filter to the specified time and comparison type.</summary>
|
|||
|
<param name="lockoutTime">A <see cref="T:System.DateTime" /> object.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.AdvancedFilterSet(System.String,System.Object,System.Type,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Creates a query filter for a property in an extended class.</summary>
|
|||
|
<param name="attribute">The name of the attribute</param>
|
|||
|
<param name="value"></param>
|
|||
|
<param name="objectType">The object type of <paramref name="value" />.</param>
|
|||
|
<param name="mt"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.BadLogonCount(System.Int32,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the query filter for the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.BadLogonCount" /> attribute to the specified value and comparison type.</summary>
|
|||
|
<param name="badLogonCount">An integer.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.LastBadPasswordAttempt(System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the query filter for the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.LastBadPasswordAttempt" /> attribute to the specified <see cref="T:System.DateTime" /> and the specified comparison value.</summary>
|
|||
|
<param name="lastAttempt">A <see cref="T:System.DateTime" /> object.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.LastLogonTime(System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the query filter for the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.LastLogon" /> attribute to the specified <see cref="T:System.DateTime" /> and the specified comparison value.</summary>
|
|||
|
<param name="logonTime">A <see cref="T:System.DateTime" /> object.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AdvancedFilters.LastPasswordSetTime(System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Sets the query filter for the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrinciple.LastPasswordSet" /> attribute to the specified <see cref="T:System.DateTime" /> and the specified comparison value.</summary>
|
|||
|
<param name="passwordSetTime">A <see cref="T:System.DateTime" /> object.</param>
|
|||
|
<param name="match"></param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal">
|
|||
|
<summary>Encapsulates the account and contact data common to principals that can be authenticated.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> class by using the specified context. This constructor is called by derived-class constructors to initialize the base class and is not intended for use directly from your code.</summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext,System.String,System.String,System.Boolean)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> class by using the specified context, SAM account name, password, and enabled value. This constructor is called by derived-class constructors to initialize the base class and is not intended for use directly from your code.</summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="samAccountName">The SAM account name for this principal. </param>
|
|||
|
<param name="password">The password for this account.</param>
|
|||
|
<param name="enabled">A Boolean value that specifies whether the account is enabled. </param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.AccountExpirationDate">
|
|||
|
<summary>Gets or sets a Nullable <see cref="T:System.DateTime" /> that specifies the date and time that the account expires. </summary>
|
|||
|
<returns>A <see cref="T:System.DateTime" /> that specifies the date and time that the account expires, or null if the account never expires. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.AccountLockoutTime">
|
|||
|
<summary>Gets the Nullable <see cref="T:System.DateTime" /> that specifies the date and time that the account was locked out. </summary>
|
|||
|
<returns> A <see cref="T:System.DateTime" /> that specifies the date and time that the account was locked out, or null if no lockout time is set on the account. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.AdvancedSearchFilter">
|
|||
|
<summary>Returns an <see cref="T:System.DirectoryServices.AccountManagement.AdvancedSearchFilter" /> object, for use with Query By Example to set read-only properties before passing the object to the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" />.</summary>
|
|||
|
<returns>An <see cref="T:System.DirectoryServices.AccountManagement.AdvancedSearchFilter" /> object.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.AllowReversiblePasswordEncryption">
|
|||
|
<summary>Gets or sets a Boolean value that specifies whether reversible password encryption is enabled for this account. </summary>
|
|||
|
<returns>true if reversible password encryption is enabled for this account; otherwise false. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.BadLogonCount">
|
|||
|
<summary>Gets the number of logon attempts using incorrect credentials for this account. </summary>
|
|||
|
<returns>The number of logon attempts using incorrect credentials for this account.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.Certificates">
|
|||
|
<summary>Gets a <see cref="T:System.X509Certificate2Collection" /> that contains the X509 certificates for this account. </summary>
|
|||
|
<returns>A <see cref="T:System.X509Certificate2Collection" /> that contains the X509 certificates for this account.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.ChangePassword(System.String,System.String)">
|
|||
|
<summary>Changes the account password from the old password to the new password. Do not use this with a <see cref="T:System.DirecoryServices.AccountManagement.ComputerPrincipal" />.</summary>
|
|||
|
<param name="oldPassword">The password that is changed. </param>
|
|||
|
<param name="newPassword">The new password. </param>
|
|||
|
<exception cref="T:System.InvalidOperationException">The principal has not been persisted.</exception>
|
|||
|
<exception cref="T:System.DiectoryServices.AccountManagement.PasswordException">The new password does not meet the complexity requirements.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">The principal is not a user.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.DelegationPermitted">
|
|||
|
<summary>Gets or sets a Nullable Boolean value that specifies whether the account may be delegated. </summary>
|
|||
|
<returns>true if the account may be delegated; otherwise false. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.Enabled">
|
|||
|
<summary>Gets or sets a Nullable Boolean value that specifies whether this account is enabled for authentication. </summary>
|
|||
|
<returns>true if the principal is enabled, or null if the account has not been persisted; otherwise false.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">The application tried to set a null value for this property. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.ExpirePasswordNow">
|
|||
|
<summary>Expires the password for this account. This will force the user to change his/her password at the next logon.</summary>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">An exception occurred when saving the changes to the store. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByBadPasswordAttempt(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of authentication principal objects that have an incorrect password try recorded in the specified date and time range. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> objects, or an empty collection if no results are found. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the incorrect password try. This parameter is used with the type parameter to determine the range of time in which the returned objects have an incorrect logon try recorded. </param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByBadPasswordAttempt``1(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> collection of objects that have a bad password attempt within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more objects of the appropriate principal type, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the password set. This parameter is used with the type parameter to determine the range of time in which the returned objects have a password set recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByExpirationTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of authentication principal objects that have an account expiration time recorded in the specified date and time range. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> objects. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the account expiration. This parameter is used with the type parameter to determine the range of time in which the returned objects have an account expiration recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByExpirationTime``1(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> collection of objects that have an expiration time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more objects of the appropriate principal type, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the password set. This parameter is used with the type parameter to determine the range of time in which the returned objects have a password set recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByLockoutTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of authentication principal objects that have an account lockout time recorded in the specified date and time range. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> objects. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the account lockout. This parameter is used with the type parameter to determine the range of time in which the returned objects have an account lockout recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByLockoutTime``1(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> collection of objects that have a lockout time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more objects of the appropriate principal type, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByLogonTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of authentication principal objects that have an account logon recorded in the specified date and time range. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> objects. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the logon record. This parameter is used with the type parameter to determine the range of time in which the returned objects have an account logon recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByLogonTime``1(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> collection of objects that have a logon time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more objects of the appropriate principal type, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the password set. This parameter is used with the type parameter to determine the range of time in which the returned objects have a password set recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByPasswordSetTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of authentication principal objects that have an account password set recorded in the specified date and time range. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.AuthenticablePrincipal" /> objects. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the password set. This parameter is used with the type parameter to determine the range of time in which the returned objects have a password set recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.FindByPasswordSetTime``1(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> collection of objects that have a password set time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more objects of the appropriate principal type, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> object that identifies the date and time of the password set. This parameter is used with the type parameter to determine the range of time in which the returned objects have a password set recorded.</param>
|
|||
|
<param name="type">A <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration value that specifies the type of match that is applied to the <paramref name="time" /> parameter. </param>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.HomeDirectory">
|
|||
|
<summary>Gets or sets the home directory for this account. </summary>
|
|||
|
<returns>The home directory for this account, or null if no home directory exists. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.HomeDrive">
|
|||
|
<summary>Gets or sets the home drive for this account. </summary>
|
|||
|
<returns>The home drive for the account, or null if no home drive exists. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.IsAccountLockedOut">
|
|||
|
<summary>Returns a Boolean value that specifies whether the account is currently locked out. </summary>
|
|||
|
<returns>true if the account is locked out; otherwise false. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.LastBadPasswordAttempt">
|
|||
|
<summary>Gets the Nullable <see cref="T:System.DateTime" /> that specifies the date and time of the last incorrect password attempt on this account. </summary>
|
|||
|
<returns>A Nullable <see cref="T:System.DateTime" /> that specifies the date and time of the last incorrect password attempt on this account, or null if no incorrect password tries are recorded. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.LastLogon">
|
|||
|
<summary>Gets the Nullable <see cref="T:System.DateTime" /> that specifies the date and time of the last logon for this account. </summary>
|
|||
|
<returns>A Nullable <see cref="T:System.DateTime" /> that specifies the date and time of the last logon for this account. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.LastPasswordSet">
|
|||
|
<summary>Gets the Nullable <see cref="T:System.DateTime" /> that specifies the last date and time that the password was set for this account. </summary>
|
|||
|
<returns>A Nullable <see cref="T:System.DateTime" /> that specifies the last date and time that the password was set for this account.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.PasswordNeverExpires">
|
|||
|
<summary>Gets or sets a Boolean value that specifies whether the password expires for this account. </summary>
|
|||
|
<returns>true if the password expires for this account; otherwise false.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.PasswordNotRequired">
|
|||
|
<summary>Gets or sets a Boolean value that specifies whether a password is required for this account. </summary>
|
|||
|
<returns>true if a password is required for this account; otherwise false. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.PermittedLogonTimes">
|
|||
|
<summary>Gets or sets the times when the principal can logon. </summary>
|
|||
|
<returns>The permitted logon times for this account.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.PermittedWorkstations">
|
|||
|
<summary>Gets the list of workstations that this principal is permitted to log into. </summary>
|
|||
|
<returns>The mutable list of workstations that this principal is permitted to log into. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.RefreshExpiredPassword">
|
|||
|
<summary>Refreshes an expired password. </summary>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">An exception occurred when saving the changes to the store. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.ScriptPath">
|
|||
|
<summary>Gets or sets the script path for this account. </summary>
|
|||
|
<returns>A path of the script for this account, or null if there is no script path. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.SetPassword(System.String)">
|
|||
|
<summary>Sets the account password to the specified value. </summary>
|
|||
|
<param name="newPassword">The new password. </param>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PasswordException">Throws an exception if the caller does not have appropriate rights, the new password does not meet password complexity requirements, or for any other reason that the underlying stores reject the password change.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.SmartcardLogonRequired">
|
|||
|
<summary>Gets or sets a Boolean value that specifies whether a smartcard is required to log on to the account. </summary>
|
|||
|
<returns>true if a smartcard is required to log on to this account; otherwise false. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.UnlockAccount">
|
|||
|
<summary>Unlocks the account if it is currently locked out. </summary>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">Throws an exception if the caller does not have appropriate rights.</exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">An exception occurred when saving the changes to the store.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.UserCannotChangePassword">
|
|||
|
<summary>Gets or sets a Boolean value that specifies whether the user can change the password for this account. Do not use this with a <see cref="T:System.DirecoryServices.AccountManagement.ComputerPrincipal" />.</summary>
|
|||
|
<returns>true if the user is not permitted to change the password; otherwise false.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">This principal object is not a user.</exception>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.ComputerPrincipal">
|
|||
|
<summary>Encapsulates principals that are computer accounts.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> class and assigns it to the specified context. </summary>
|
|||
|
<param name="context"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext,System.String,System.String,System.Boolean)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> class by using the specified context, SAM account name, password, and enabled value. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="samAccountName">The SAM account name for this computer principal. </param>
|
|||
|
<param name="password">The password for this account.</param>
|
|||
|
<param name="enabled">A Boolean value that specifies whether the account is enabled. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByBadPasswordAttempt(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> collection of <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that have had bad password attempts within the parameters specified.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that match the search parameters, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> structure that is used in conjunction with the <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> to find computers with bad password attempts.</param>
|
|||
|
<param name="type">The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> that specifies the type of comparison to use in the search.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByExpirationTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> collection of <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that have an expiration time within the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that match the search parameters, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> structure that is used in conjunction with the <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> to filter search results.</param>
|
|||
|
<param name="type">The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> that specifies the type of comparison to use in the search.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a computer principal object that matches the specified identity type and value. This version of the <see cref="Overload:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByIdentity" /> method determines the format of the identity value. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object that matches the specified identity value and type, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityType">A <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the format of the <paramref name="identityValue" /> parameter. </param>
|
|||
|
<param name="identityValue">The identity of the computer. This parameter can be any format that is contained in the <see cref="T:System.DirectoryService.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple computer principal objects matching the current computer object were found.</exception>
|
|||
|
<exception cref="T:System.ComponenetModel.InvalidEnumerationOperatorException">The identity value is not a valid <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.String)">
|
|||
|
<summary>Returns a computer principal object that matches the specified identity value. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object that matches the specified identity value, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityValue">The identity of the computer. This parameter can be any format that is contained in the <see cref="T:System.DirectoryService.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple computer principal objects matching the current computer object were found.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByLockoutTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> collection of <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that have a lockout time within the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that match the search parameters, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> structure that is used in conjunction with the <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> to filter search results.</param>
|
|||
|
<param name="type">The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> that specifies the type of comparison to use in the search.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByLogonTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> collection of <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that have a logon time within the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that match the search parameters, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> structure that is used in conjunction with the <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> to filter search results.</param>
|
|||
|
<param name="type">The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> that specifies the type of comparison to use in the search.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.ComputerPrincipal.FindByPasswordSetTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> collection of <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that have a password set time within the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryService.AccountManagement.ComputerPincipal" /> objects that match the search parameters, or an empty collection if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryService.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="time">A <see cref="T:System.DateTime" /> structure that is used in conjunction with the <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> to filter search results.</param>
|
|||
|
<param name="type">The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> that specifies the type of comparison to use in the search.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.ComputerPrincipal.ServicePrincipalNames">
|
|||
|
<summary>Gets a collection of the Service Principal Names (SPN) for the computer account. </summary>
|
|||
|
<returns>A collection of SPNs that specify the names of the accounts registered for this computer. The syntax for the SPN depends on the underlying store. </returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.ContextOptions">
|
|||
|
<summary>Specifies the options that are used for binding to the server. The application can set multiple options that are linked with a bitwise OR operation. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.Negotiate">
|
|||
|
<summary>The client is authenticated by using either Kerberos or NTLM. When the user name and password are not provided, the Account Management API binds to the object by using the security context of the calling thread, which is either the security context of the user account under which the application is running or of the client user account that the calling thread represents.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.SimpleBind">
|
|||
|
<summary>The client is authenticated by using the Basic authentication.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.SecureSocketLayer">
|
|||
|
<summary>The channel is encrypted by using the Secure Sockets Layer (SSL). Active Directory requires that the Certificate Services be installed to support SSL. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.Signing">
|
|||
|
<summary>The integrity of the data is verified. This flag can only be used with the Negotiate context option and is not available with the simple bind option. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.Sealing">
|
|||
|
<summary>The data is encrypted by using Kerberos.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextOptions.ServerBind">
|
|||
|
<summary>Specify this flag when you use the domain context type if the application is binding to a specific server name. </summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.ContextType">
|
|||
|
<summary>Specifies the type of store to which the principal belongs. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextType.Machine">
|
|||
|
<summary>The computer store. This represents the SAM store.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextType.Domain">
|
|||
|
<summary>The domain store. This represents the AD DS store. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory">
|
|||
|
<summary>The application directory store. This represents the AD LDS store.</summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute">
|
|||
|
<summary>Represents the schema object that is used to create an object of this type in the directory. This attribute is required for principal extensions and can only be set on classes. </summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute.#ctor(System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute" /> class with the specified object class value. The object created in the directory will be created with this object class type. </summary>
|
|||
|
<param name="objectClass">The string that contains the object class value. The <see cref="P:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute.ObjectClass" /> property is initialized to this value. The object class string represents the objectClass attribute for the application directory and domain directories. </param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute.Context">
|
|||
|
<summary>This property is not implemented and always returns null. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value that specifies the type of store to which the attribute applies, or null if no context is set. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute.ObjectClass">
|
|||
|
<summary>Returns the object class value for the extended class.</summary>
|
|||
|
<returns>The object class value for the extended class. </returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute">
|
|||
|
<summary>Contains the data required by the store to map a principal property to a directory attribute. This attribute is required for principal extensions and can only be set on a property. It must be specified on every property that represents a directory attribute in the extended class. </summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute.#ctor(System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute" /> class with the schema attribute name. </summary>
|
|||
|
<param name="schemaAttributeName">The name of the attribute that is set in the directory. The <see cref="P:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute.SchemaAttributeName" /> property is initialized to this value. This property represents the ldapDisplayName for application directory and domain directories. </param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute.Context">
|
|||
|
<summary>This property is not implemented and always returns null. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value that specifies the type of store to which this attribute applies, or null if no context is set. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryPropertyAttribute.SchemaAttributeName">
|
|||
|
<summary>Returns the string that represents the attribute name in the directory. </summary>
|
|||
|
<returns>The string that represents the attribute name in the directory. </returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute">
|
|||
|
<summary>The RDN prefix used to construct the RDN for the new object that is inserted into the store. The default RDN prefix of "CN" is used by the Account Management API if this attribute is not set. This attribute is optional and can only be set on principal extension classes. </summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute.#ctor(System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute" /> class with the RDN prefix. </summary>
|
|||
|
<param name="rdnPrefix">The RDN prefix. The <see cref="P:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute.RdnPrefix" /> property is initialized to this value. </param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute.Context">
|
|||
|
<summary>This property is not implemented and always returns null. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value that specifies the type of store to which this attribute applies, or null is no context is set. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.DirectoryRdnPrefixAttribute.RdnPrefix">
|
|||
|
<summary>Returns the RDN prefix used to construct the RDN. </summary>
|
|||
|
<returns>The RDN prefix used to construct the RDN. </returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.GroupPrincipal">
|
|||
|
<summary>Encapsulates group accounts. Group accounts can be arbitrary collections of principal objects or accounts created for administrative purposes. </summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> class by using the specified context. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> class and assigns it to the specified context and SAM account name. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="samAccountName">The SAM account name for this principal.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.Dispose">
|
|||
|
<summary>Disposes the current instance of the <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a group principal object that matches the specified identity type, and value. This version of the <see cref="Overlaod:System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity" /> method determines the format of the identity value.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> that matches the specified identity value and type, or null if no matches are found. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityType">A <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the format of the <paramref name="identityValue" /> parameter. </param>
|
|||
|
<param name="identityValue">The identity of the group principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple group principal objects matching the current group object were found.</exception>
|
|||
|
<exception cref="T:System.ComponenetModel.InvalidEnumerationOperatorException">The identity value is not a valid <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.String)">
|
|||
|
<summary>Returns a group principal object that matches the specified identity value.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object that matches the specified identity value and type, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityValue">The identity of the group principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple group principal objects matching the current group object were found.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.GetMembers">
|
|||
|
<summary>Returns a collection of the principal objects that is contained in the group.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> object that contains the principal objects that are members of the group, or an empty collection if the group has no members. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.GroupPrincipal.GetMembers(System.Boolean)">
|
|||
|
<summary>Returns a collection of the principal objects that is contained in the group. When the recursive flag is set to true, this method searches the current group recursively and returns all nested group members. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> object that contains the principal objects that are members of the group, or an empty collection if the group has no members. </returns>
|
|||
|
<param name="recursive">A Boolean value that specifies whether the group is searched recursively. </param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.GroupPrincipal.GroupScope">
|
|||
|
<summary>Gets or sets a Nullable <see cref="T:System.DirectoryServices.AccountManagement.GroupScope" /> enumeration that specifies the scope for this group principal. </summary>
|
|||
|
<returns>A nullable <see cref="T:System.DirectoryServices.AccountManagement.GroupScope" /> enumeration value that specifies the scope of this group or null if no scope has been set. </returns>
|
|||
|
<exception cref="T:System.ArgumentNullException">The application may not set this property to null. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.GroupPrincipal.IsSecurityGroup">
|
|||
|
<summary>Gets or sets a Nullable Boolean value that indicates whether the group is security-enabled. </summary>
|
|||
|
<returns>true if the group is security enabled, or null if the group has not been persisted; otherwise false. </returns>
|
|||
|
<exception cref="T:System.ArgumentNullException">The application may not set this property to null. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.GroupPrincipal.Members">
|
|||
|
<summary>Gets a collection of principal objects that represent the members of the group. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> object that contains the principal objects that represent the members of the group. </returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.GroupScope">
|
|||
|
<summary>Specifies the scope of the group principal.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.GroupScope.Local">
|
|||
|
<summary>The scope of the group is local. This group type is supported on AD DS and AD LDS.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.GroupScope.Global">
|
|||
|
<summary>The group's scope is global. This group type is supported on AD DS. When a global group is specified with an AD LDS directory, a <see cref="F:System.DirectoryServices.AccountManagement.GroupScope.Local" /> group is created instead. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.GroupScope.Universal">
|
|||
|
<summary>The scope of the group is universal. This group type is supported on AD DS and AD LDS. </summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.IdentityType">
|
|||
|
<summary>Specifies the format of the identity.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.SamAccountName">
|
|||
|
<summary>The identity is a Security Account Manager (SAM) name. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.Name">
|
|||
|
<summary>The identity is a name. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.UserPrincipalName">
|
|||
|
<summary>The identity is a User Principal Name (UPN). </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.DistinguishedName">
|
|||
|
<summary>The identity is a Distinguished Name (DN).</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.Sid">
|
|||
|
<summary>The identity is a Security Identifier (SID) in Security Descriptor Definition Language (SDDL) format. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.IdentityType.Guid">
|
|||
|
<summary>The identity is a Globally Unique Identifier (GUID). </summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.MatchType">
|
|||
|
<summary>The <see cref="T:System.DirectoryServices.AccountManagement.MatchType" /> enumeration specifies the type of comparison used in a search.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.Equals">
|
|||
|
<summary>The search results include values that equal the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that have the same date and time. </summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.NotEquals">
|
|||
|
<summary>The search results include values that are not equal to the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that do not include the specified date and time.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.GreaterThan">
|
|||
|
<summary>The search results include values that are greater than the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that are dated after the specified date and time.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.GreaterThanOrEquals">
|
|||
|
<summary>The search results include values that are greater than or equal to the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that are dated on or after the specified date and time.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.LessThan">
|
|||
|
<summary>The search results include values that are less than the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that are dated prior to the specified date and time.</summary>
|
|||
|
</member>
|
|||
|
<member name="F:System.DirectoryServices.AccountManagement.MatchType.LessThanOrEquals">
|
|||
|
<summary>The search results include values that are less than or equal to the supplied value. If the supplied value specifies a date and time, the returned collection includes objects that are dated prior to or on the specified date and time.</summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.MultipleMatchesException">
|
|||
|
<summary>This exception is thrown by methods that expect to match a single principal object when there are multiple matches to the search query.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.MultipleMatchesException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.MultipleMatchesException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.MultipleMatchesException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /> class with the specified error message.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.MultipleMatchesException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException">
|
|||
|
<summary>This exception is thrown when no matching principal object could be found with the specified parameters.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /> class with the specified error message.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the message</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PasswordException">
|
|||
|
<summary>This exception is thrown when a password does not meet complexity requirements.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PasswordException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PasswordException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PasswordException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /> class with the specified error message.</summary>
|
|||
|
<param name="message"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PasswordException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PasswordException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.Principal">
|
|||
|
<summary>Encapsulates the account data and operations common to all security principals. This is the abstract base class from which all security principals are derived.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.#ctor">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> class. This constructor is called by derived-class constructors to initialize the base class and is not intended to be called directly from your code. </summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.CheckDisposedOrDeleted">
|
|||
|
<summary>Determines whether the <see cref="M:System.DirectoryServices.AccountManagement.Principal.Dispose" /> or <see cref="M:System.DirectoryServices.AccountManagement.Principal.Delete" /> methods have been called on this class. This method is called by classes that derive from this principal class. </summary>
|
|||
|
<exception cref="T:System.ObjectDisposedException">The <see cref="M:System.DirectoryServices.AccountManagement.Principal.Dispose" /> method has been called on this principal object.</exception>
|
|||
|
<exception cref="T:System.InvalidOperationsException">The <see cref="M:System.DirectoryServices.AccountManagement.Principal.Delete" /> method has been called on this principal object.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.Context">
|
|||
|
<summary>Gets a principal context that is associated with the principal. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object that contains the context associated with this principal. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.ContextRaw">
|
|||
|
<summary>Gets a principal context that is associated with this principal. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object that contains the context associated with this principal. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.ContextType">
|
|||
|
<summary>Gets the context type enumeraton value that specifies the type of principal context associated with this principal. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value that specifies the context type. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.Delete">
|
|||
|
<summary>Deletes the principal object from the store. </summary>
|
|||
|
<exception cref="T:System.InvalidOperationsException">The object that is not persisted in the store.The object has already been deleted. The target context type must match the context type of the current principal.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.Description">
|
|||
|
<summary>Gets or sets the description of the principal. </summary>
|
|||
|
<returns>The description text for this principal or null if there is no description. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.DisplayName">
|
|||
|
<summary>Gets or sets the display name for this principal.</summary>
|
|||
|
<returns>The display name for this principal or null if there is no display name. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.Dispose">
|
|||
|
<summary>Disposes the current instance of the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.DistinguishedName">
|
|||
|
<summary>Gets the distinguished name (DN) for this principal.</summary>
|
|||
|
<returns>The DN for this principal or null if there is no DN.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.Equals(System.Object)">
|
|||
|
<summary>Returns a Boolean value that specifies whether the supplied object is equal to the current object. </summary>
|
|||
|
<returns>true if the supplied object and current principal objects represent the same underlying principal in the store; otherwise false. </returns>
|
|||
|
<param name="o">The <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that is compared to the current instance. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.ExtensionGet(System.String)">
|
|||
|
<summary>Retrieves an attribute of an extended class object.</summary>
|
|||
|
<returns>Returns an array of objects, or null if no attribute exists with that name. See System.DirectoryServices.AccountManagement Principle Extensions for an example on using this function.</returns>
|
|||
|
<param name="attribute">The name of the attribute to retrieve.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.ExtensionSet(System.String,System.Object)">
|
|||
|
<summary>Sets the value of an attribute in an extended class.</summary>
|
|||
|
<param name="attribute">The name of the attribute.</param>
|
|||
|
<param name="value">The object that contains the value of the attribute.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a principal object that matches the specified identity type, and value. This version of the <see cref="M:System.DirectoryServices.AccountManagement.Principal.FindByIdentity" /> method determines the format of the identity value.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that matches the specified identity value and type or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityType">An <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the format of the <paramref name="identityValue" /> parameter. </param>
|
|||
|
<param name="identityValue">The identity of the principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple principal objects matching the current object were found.</exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The identity type is not a valid <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.String)">
|
|||
|
<summary>Returns a principal object that matches the specified identity value.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that matches the specified identity value and type, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityValue">The identity of the principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple principal objects matching the current object were found.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(System.DirectoryServices.AccountManagement.PrincipalContext,System.Type,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a principal object that matches the specified identity type, and value. This method is called by the implementation of the derived-class FindByIdentity method to restrict the search to the derived class type and is not intended to be called directly from your code.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that matches the specified identity value and type or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="principalType">The type of object for which results are returned. This must of type <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> or a type derived from the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> class. </param>
|
|||
|
<param name="identityType">An <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the type of the identity value.</param>
|
|||
|
<param name="identityValue">The identity of the principal.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(System.DirectoryServices.AccountManagement.PrincipalContext,System.Type,System.String)">
|
|||
|
<summary>Returns a principal object that matches the specified identity type, and value. This method is called by the implementation of the derived-class FindByIdentity method to restrict the search to the derived class type and is not intended to be called directly from your code.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that matches the specified identity value and type, or null if no matches are found. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="principalType">The type of object for which results are returned. This must of type <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> or a type derived from the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> class.</param>
|
|||
|
<param name="identityValue">The identity of the principal.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.GetGroups">
|
|||
|
<summary>Returns a collection of group objects that specify the groups of which the current principal is a member. </summary>
|
|||
|
<returns>A collection of <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> objects that specify the groups of which the current principal is a member. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.GetGroups(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Returns a collection of group objects that the principal is a member of and that exist in the store provided by the specified context parameter. </summary>
|
|||
|
<returns>A collection of <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> objects that specify the groups of which the current principal is a member. </returns>
|
|||
|
<param name="contextToQuery">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object that specifies the context against which the query is performed. When the context is located in another domain, the query is performed against the principal objects' representation in the specified context. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.GetHashCode">
|
|||
|
<summary>Retrieves the hash created from the contents of the principal object, suited for use in hashing algorithms and data structures like a hash table.</summary>
|
|||
|
<returns>A hash code for the current principal. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.GetUnderlyingObject">
|
|||
|
<summary>Returns the underlying <see cref="T:System.DirectoryServices.DirectoryEntry" /> object that provides the contact data for the principal object. </summary>
|
|||
|
<returns>The underlying <see cref="T:System.DirectoryServices.DirectoryEntry" /> object. </returns>
|
|||
|
<exception cref="T:system.InvalidOperationExtension">The current principal has not been persisted and does not have an associated <see cref="T:System.DirectoryServices.DirectoryEntry" /> object. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.GetUnderlyingObjectType">
|
|||
|
<summary>Returns the underlying object type. </summary>
|
|||
|
<returns>The underlying object type. For AD DS, AD LDS, and SAM the type is <see cref="T:System.DirectoryServices.DirectoryEntry" />. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.Guid">
|
|||
|
<summary>Gets the GUID associated with this principal. </summary>
|
|||
|
<returns>The Nullable <see cref="T:System.Guid" /> associated with this principal or null if there is no GUID. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.IsMemberOf(System.DirectoryServices.AccountManagement.GroupPrincipal)">
|
|||
|
<summary>Returns a Boolean value that specifies whether the principal is a member of the specified group. </summary>
|
|||
|
<returns>true if the principal is a member of the specified group; otherwise false. </returns>
|
|||
|
<param name="group">The <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object for which principal membership is determined. </param>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException">The <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> specified in the group parameter could not be found. </exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException">More than one matching <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> was found. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.IsMemberOf(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a Boolean value that specifies whether the principal is a member of the group specified by identity type and value. </summary>
|
|||
|
<returns>true if the principal is a member of the specified group; otherwise false. </returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityType">A <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the type of the identity value. </param>
|
|||
|
<param name="identityValue">The identity of the group. </param>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException">The identity type or value does not correspond to a <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" />.</exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.MultipleMatchesException">More than one matching <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> was found. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.Name">
|
|||
|
<summary>Gets or sets the name of this principal. </summary>
|
|||
|
<returns>The name of the principal or null if the name attribute is not set. </returns>
|
|||
|
<exception cref="T:System.ArgumentNullException">The application tried to set the name to null.</exception>
|
|||
|
<exception cref="T:System.InvlaidOperationException">The underlying store does not support this property. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.SamAccountName">
|
|||
|
<summary>Gets or sets the SAM account name for this principal. </summary>
|
|||
|
<returns>The SAM account name for this principal or null if no name has been set. </returns>
|
|||
|
<exception cref="T:System.ArgumentNullException">The application tried to set the SAM account name to null.</exception>
|
|||
|
<exception cref="T:System.InvlaidOperationException">The application tried to set the SAM account name on a persisted principal. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.Save">
|
|||
|
<summary>Saves the changes that were made on the principal object to the store. If this is a new principal object, this method inserts it into the store.</summary>
|
|||
|
<exception cref="T:System.InvalidOperationException">The principal has not yet been associated with a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object.This type of principal cannot be inserted in the store. </exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">An exception occurred when saving changes to the store, or updating the group membership in the store. </exception>
|
|||
|
<exception cref="T:System>DirectoryServices.AccountManagement.PrincipalExistsException">The principal already occurs in the store. </exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PasswordException">The password does not meet complexity requirements. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.Save(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Saves the changes that were made on the principal object to the store. If this is a new principal object, this method inserts it into the specified context. If the principal has already been persisted, it is moved from the original context to the specified context. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<exception cref="T:System.InvalidOperationException">The principal has not yet been associated with a <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object. This type of principal cannot be inserted in the store. </exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">An exception occurred when saving changes to the store, or updating the group membership in the store. </exception>
|
|||
|
<exception cref="T:System>DirectoryServices.AccountManagement.PrincipalExistsException">The principal already occurs in the store. </exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PasswordException">The password does not meet complexity requirements. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.Sid">
|
|||
|
<summary>Gets the Security ID (SID) of the principal. </summary>
|
|||
|
<returns>The <see cref="T:System.Security.Principal.SecurityIdentifier" /> for this principal or null if there is no SID. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.StructuralObjectClass">
|
|||
|
<summary>Gets the structural object class directory attribute.</summary>
|
|||
|
<returns>The structural object class directory attribute.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.Principal.ToString">
|
|||
|
<summary>Returns a user friendly string representation of the current principal object.</summary>
|
|||
|
<returns>A string representation of the current <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.Principal.UserPrincipalName">
|
|||
|
<summary>Gets or sets the user principal name (UPN) associated with this principal. </summary>
|
|||
|
<returns>The UPN associated with this principal or null if no if the UPN has not been set. </returns>
|
|||
|
<exception cref="T:System.InvlaidOperationException">The underlying store does not support this property. </exception>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalCollection">
|
|||
|
<summary>A mutable collection of objects derived from the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> class. This class is designed to be used for multi-valued properties that contain Principals. Manipulating the contents of this collection changes the contents of the corresponding store property, which is made permanent when <see cref="M:System.DirectoryServices.AccountManagement.Principal.Save" /> is called on the corresponding principal object.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Add(System.DirectoryServices.AccountManagement.ComputerPrincipal)">
|
|||
|
<summary>Adds the specified <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object to the end of the collection</summary>
|
|||
|
<param name="computer"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Add(System.DirectoryServices.AccountManagement.GroupPrincipal)">
|
|||
|
<summary>Adds the specified <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object to the end of the collection</summary>
|
|||
|
<param name="group"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Add(System.DirectoryServices.AccountManagement.Principal)">
|
|||
|
<summary>Adds the specified <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object to the end of the collection</summary>
|
|||
|
<param name="principal">A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Add(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Searches for a <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that matches the parameters, and adds it to the end of the collection.</summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object for the principal to be added to the collection.</param>
|
|||
|
<param name="identityType">An <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> object that specifies the format of <paramref name="identityValue" /></param>
|
|||
|
<param name="identityValue">A string that identifies the principal, in the format specified by <paramref name="identityType" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Add(System.DirectoryServices.AccountManagement.UserPrincipal)">
|
|||
|
<summary>Adds the specified <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object to the end of the collection</summary>
|
|||
|
<param name="user">A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Clear">
|
|||
|
<summary>Removes all Principals from the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Contains(System.DirectoryServices.AccountManagement.ComputerPrincipal)">
|
|||
|
<summary>Returns true if the collection contains the specified <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="computer">A <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Contains(System.DirectoryServices.AccountManagement.GroupPrincipal)">
|
|||
|
<summary>Returns true if the collection contains the specified <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="group">A <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Contains(System.DirectoryServices.AccountManagement.Principal)">
|
|||
|
<summary>Returns true if the collection contains the specified <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="principal">A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Contains(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns true if the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object matching the <paramref name="indentityType" />/<paramref name="idendityValue" /> pair is in the collection</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object of the principal.</param>
|
|||
|
<param name="identityType">An <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> object that specifies the format of <paramref name="identityValue" /></param>
|
|||
|
<param name="identityValue">A string that identifies the principal, in the format specified by <paramref name="identityType" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Contains(System.DirectoryServices.AccountManagement.UserPrincipal)">
|
|||
|
<summary>Returns true if the collection contains the specified <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="user">A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.CopyTo(System.DirectoryServices.AccountManagement.Principal[],System.Int32)">
|
|||
|
<summary>Copies the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects from this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> into the specified array, starting at the specified position index in array.</summary>
|
|||
|
<param name="array">The <see cref="T:System.Array" /> that should be populated with <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects.</param>
|
|||
|
<param name="index">The position in <paramref name="array" /> into which the first principal object in the collection should be copied.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.Count">
|
|||
|
<summary>Returns the count of Principal objects in this collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.GetEnumerator">
|
|||
|
<summary>Returns an enumerator to iterate through the principals in the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />.</summary>
|
|||
|
<returns>An <see cref="T:System.Collections.IEnumerator" /> containing the principals in the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.IsReadOnly">
|
|||
|
<summary>Returns false. This is not a read-only collection.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.IsSynchronized">
|
|||
|
<summary>Returns false. It is up to the application to serialize access to this collection.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Remove(System.DirectoryServices.AccountManagement.ComputerPrincipal)">
|
|||
|
<summary>Removes the specified <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object from the collection, and returns true if the <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> was a member of this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />, and false otherwise (in which case the method performs no operation).</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="computer">A <see cref="T:System.DirectoryServices.AccountManagement.ComputerPrincipal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Remove(System.DirectoryServices.AccountManagement.GroupPrincipal)">
|
|||
|
<summary>Removes the specified <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object from the collection, and returns true if the <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> was a member of this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />, and false otherwise (in which case the method performs no operation).</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="group">A <see cref="T:System.DirectoryServices.AccountManagement.GroupPrincipal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Remove(System.DirectoryServices.AccountManagement.Principal)">
|
|||
|
<summary>Removes the specified <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object from the collection, and returns true if the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> was a member of this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />, and false otherwise (in which case the method performs no operation).</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="principal">A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Remove(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Finds the <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object specified by the given <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> and <paramref name="identityType" />/<paramref name="identityValue" /> pair from the collection, and returns true if the identified <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> was a member of this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />, and false otherwise (in which case the method performs no operation).</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="context">A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object.</param>
|
|||
|
<param name="identityType">An <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> that identifies the format of <paramref name="identityValue" />.</param>
|
|||
|
<param name="identityValue">A string.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.Remove(System.DirectoryServices.AccountManagement.UserPrincipal)">
|
|||
|
<summary>Removes the specified <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object from the collection, and returns true if the <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> was a member of this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />, and false otherwise (in which case the method performs no operation).</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="user">A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.SyncRoot">
|
|||
|
<summary>Returns a synchronization object that can be used to synchronize access to this collection.</summary>
|
|||
|
<returns>Returns the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> object itself.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
|
|||
|
<summary>Copies the <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects from this <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> into the specified array, starting at the specified position index in array.</summary>
|
|||
|
<param name="array">The T:System.Array that should be populated with <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects.</param>
|
|||
|
<param name="index">The position in <paramref name="array" /> to which the first <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object should be copied to.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.System#Collections#ICollection#Count">
|
|||
|
<summary>Returns the count of Principal objects in this collection.</summary>
|
|||
|
<returns>Returns an integer.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.System#Collections#ICollection#IsSynchronized">
|
|||
|
<summary>Always returns false. It is up to the application to synchronize access to this collection.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalCollection.System#Collections#ICollection#SyncRoot">
|
|||
|
<summary>Returns a synchronization object that can be used to synchronize access to this collection. Returns the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> object itself.</summary>
|
|||
|
<returns>The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" /> object.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalCollection.System#Collections#IEnumerable#GetEnumerator">
|
|||
|
<summary>Returns an enumerator to iterate through the principals in the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />.</summary>
|
|||
|
<returns>An <see cref="T:System.Collections.IEnumerator" /> containing the principals in the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection" />.</returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalContext">
|
|||
|
<summary>Encapsulates the server or domain against which all operations are performed, the container that is used as the base of those operations, and the credentials used to perform the operations.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context.</param>
|
|||
|
<exception cref="T:System.ArgumentException">A name or container must be specified when using the application directory context.</exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type and name. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context.</param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<exception cref="T:System.ArgumentException">A name must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter.</exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="F:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, and container. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context.</param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<param name="container">The container on the store to use as the root of the context. All queries are performed under this root, and all inserts are performed into this container.For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> and <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types, this parameter is the distinguished name of a container object. For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, this parameter must be set to null.</param>
|
|||
|
<exception cref="T:System.ArgumentException">A container cannot be specified when the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type is specified in the <paramref name="contextType" /> parameter.A name or container must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter. </exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="F:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String,System.String,System.DirectoryServices.AccountManagement.ContextOptions)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, container, and context options. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context.</param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<param name="container">The container on the store to use as the root of the context. All queries are performed under this root, and all inserts are performed into this container.For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> and <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types, this parameter is the distinguished name of a container object. For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, this parameter must be set to null.</param>
|
|||
|
<param name="options">A combination of one or more <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration values specifying the options used to bind to the server. If this parameter is null, the default options are ContextOptions.Negotiate | ContextOptions.Signing | ContextOptions.Sealing. </param>
|
|||
|
<exception cref="T:System.ArgumentException">A container cannot be specified when the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type is specified in the <paramref name="contextType" /> parameter.A name or container must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter. </exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. The <paramref name="options" /> parameter does not contain a combination of valid <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration values. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String,System.String,System.DirectoryServices.AccountManagement.ContextOptions,System.String,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, container, context options, username, and password. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context. </param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<param name="container">The container on the store to use as the root of the context. All queries are performed under this root, and all inserts are performed into this container.For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> and <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types, this parameter is the distinguished name of a container object. For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, this parameter must be set to null.</param>
|
|||
|
<param name="options">A combination of one or more <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration values the options used to bind to the server. If this parameter is null, the default options are ContextOptions.Negotiate | ContextOptions.Signing | ContextOptions.Sealing. </param>
|
|||
|
<param name="userName">The username used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store.</param>
|
|||
|
<param name="password">The password used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store.</param>
|
|||
|
<exception cref="T:System.ArgumentException">The <paramref name="username" /> and <paramref name="password" /> parameters must either be null or contain a value. A container cannot be specified when the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type is specified in the <paramref name="contextType" /> parameter.A name or container must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter.</exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. The <paramref name="options" /> parameter does not contain a combination of valid <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration values. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String,System.String,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, username, and password. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context.</param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<param name="userName">The username used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store.</param>
|
|||
|
<param name="password">The password used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store.</param>
|
|||
|
<exception cref="T:System.ArgumentException">The <paramref name="username" /> and <paramref name="password" /> parameters must either be null or contain a value. A name must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter. </exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.#ctor(System.DirectoryServices.AccountManagement.ContextType,System.String,System.String,System.String,System.String)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, container, username, and password. </summary>
|
|||
|
<param name="contextType">A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of store for the principal context. </param>
|
|||
|
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
|
|||
|
<param name="container">The container on the store to use as the root of the context. All queries are performed under this root, and all inserts are performed into this container.For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> and <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types, this parameter is the distinguished name of a container object. For <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, this parameter must be set to null.</param>
|
|||
|
<param name="userName">The username used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store.</param>
|
|||
|
<param name="password">The password used to connect to the store. If the <paramref name="username" /> and <paramref name="password" /> parameters are both null, the default credentials of the current principal are used. Otherwise, both <paramref name="username" /> and <paramref name="password" /> must be non-null, and the credentials they specify are used to connect to the store. </param>
|
|||
|
<exception cref="T:System.ArgumentException">The <paramref name="username" /> and <paramref name="password" /> parameters must either be null or contain a value. A container cannot be specified when the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type is specified in the <paramref name="contextType" /> parameter.A <paramref name="name" /> or <paramref name="container" /> must be specified when <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> is specified in the <paramref name="contextType" /> parameter. </exception>
|
|||
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="contextType" /> parameter does not contain a valid <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.ConnectedServer">
|
|||
|
<summary>Gets the name of the server to which the principal context is connected. </summary>
|
|||
|
<returns>The name of the server to which the principal context is connected or null if the principal context is not connected to a server. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.Container">
|
|||
|
<summary>Gets the value specified in the container parameter in the constructor.</summary>
|
|||
|
<returns>The container on the store to use as the root of the context or null if the container is not specified. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.ContextType">
|
|||
|
<summary>Gets the context type that specifies the type of store for the principal context. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextType" /> enumeration value specifying the type of target to connect to.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.Dispose">
|
|||
|
<summary>Disposes the current instance of the <see cref="T:System.DirectorySerices.AccountManagement.PrincipalContext" /> object. </summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.Name">
|
|||
|
<summary>Gets the value specified as the <paramref name="name" /> parameter in the constructor.</summary>
|
|||
|
<returns>The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> contexts types, the host name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, the name of the server hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance, or null if no name is set. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.Options">
|
|||
|
<summary>Gets the options specified in the <paramref name="contextOptions" /> parameter of the constructor. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration value specifying the type of target to connect to.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalContext.UserName">
|
|||
|
<summary>Gets the value specified in the username parameter in the constructor.</summary>
|
|||
|
<returns>The username used to connect to the store, or null if no user name exists.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials(System.String,System.String)">
|
|||
|
<summary>Creates the connections to the server and returns a Boolean value that specifies whether the specified username and password are valid. </summary>
|
|||
|
<returns>true if the credentials are valid; otherwise false. </returns>
|
|||
|
<param name="userName">The username that is validated on the server.</param>
|
|||
|
<param name="password">The password that is validated on the server.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials(System.String,System.String,System.DirectoryServices.AccountManagement.ContextOptions)">
|
|||
|
<summary>Creates the connections to the server and returns a Boolean value that specifies whether the specified user name and password are valid. This method performs fast credential validation of the username and password. </summary>
|
|||
|
<returns>true if the credentials are valid; otherwise false. </returns>
|
|||
|
<param name="userName">The username that is validated on the server.</param>
|
|||
|
<param name="password">The password that is validated on the server.</param>
|
|||
|
<param name="options">A combination of one or more <see cref="T:System.DirectoryServices.AccountManagement.ContextOptions" /> enumeration values the options used to bind to the server. This parameter can only specify Simple bind with or without SSL, or Negotiate bind. </param>
|
|||
|
<exception cref="T:System.ArgumentException">The <paramref name="options" /> parameter must specify Negotiate when the context type is <see cref="T:System.DirectoryServices.AccountManagement.ContextType.Machine." /></exception>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalException">
|
|||
|
<summary>The base class of exceptions thrown by <see cref="N:System.DirectoryServices.AccountManagement" /> objects.</summary>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalExistsException">
|
|||
|
<summary>Thrown by <see cref="T:System.DirectoryServices.AccountManagement.PrincipalCollection.Add" /> when an attempt is made to insert a principal that already exists in the collection, or by <see cref="N:System.DirectoryServices.AccountManagement.Principal.Save" /> when an attempt is made to save a new principal that already exists in the store.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalExistsException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalExistsException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalExistsException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /> class with the specified error message.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalExistsException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalExistsException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">
|
|||
|
<summary>Thrown when ADSI returns an error during an operation to update the store.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class with the specified error message.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor(System.String,System.Exception,System.Int32)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class with the specified error message, the specified nested exception, and the specified error code.</summary>
|
|||
|
<param name="message">The text of the message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
<param name="errorCode">An error code.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.#ctor(System.String,System.Int32)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class with the specified error message and specified error code.</summary>
|
|||
|
<param name="message">The text of the message.</param>
|
|||
|
<param name="errorCode">An error code.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalOperationException.ErrorCode">
|
|||
|
<summary>Returns an integer error code.</summary>
|
|||
|
<returns>Returns an integer.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalOperationException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException" /> class with serialized data.</summary>
|
|||
|
<param name="info">The object that holds the serialized object data. </param>
|
|||
|
<param name="context">The contextual information about the source or destination. </param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalSearcher">
|
|||
|
<summary>Encapsulates the methods and search patterns used to execute a query against the underlying principal store.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.#ctor">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" /> class. The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> property must be set before the Principal searcher object can be used to perform a search.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.#ctor(System.DirectoryServices.AccountManagement.Principal)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" /> class with the specified query filter.</summary>
|
|||
|
<param name="queryFilter">The <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that specifies the filter to use for the search. The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> property is initialized to this value. </param>
|
|||
|
<exception cref="T:System.ArgumentException">Persisted principal objects can not be used as the <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" />. The <paramref name="queryFilter" /> parameter cannot be null or empty.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.Context">
|
|||
|
<summary>Gets that principal context that is used to perform the query. The context specifies the server or domain against which search operations are performed. </summary>
|
|||
|
<returns>The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> object that specifies the server or domain against which operations are performed. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.Dispose">
|
|||
|
<summary>Disposes the current instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" /> object.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.FindAll">
|
|||
|
<summary>Returns a principal search result that contains a collection of all the principal objects that match the principal specified in the query filter property. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> object that matches the query filter or an empty collection if no results are found. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> contains referential properties. For more information, see the Query by Example overview topic. The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> is a persisted principal.</exception>
|
|||
|
<exception cref="T:System.ArgumentException">A <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> must first be assigned to the principal searcher before the query can be performed.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.FindOne">
|
|||
|
<summary>Returns a principal search result that contains the first principal object found that matches the principal specified in the <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> property. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that contains the principal object that matches the query filter or null if no results are found.</returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> contains referential properties. For more information, see the Query by Example overview topic.The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> is a persisted principal.</exception>
|
|||
|
<exception cref="T:System.ArgumentException">A <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> must first be assigned to the principal searcher before the query can be performed.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.GetUnderlyingSearcher">
|
|||
|
<summary>Returns the underlying search object that is used by the Account Management API to perform the search. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.DirectorySearcher" /> object. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">A <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> must first be assigned to the principal searcher before the query can be performed.The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> contains referential properties. For more information, see the Query by Example overview topic. The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> is a persisted principal.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.GetUnderlyingSearcherType">
|
|||
|
<summary>Returns the type of the object returned from the <see cref="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.GetUnderlyingSearcher" /> method. </summary>
|
|||
|
<returns>A <see cref="T:System.Type" /> that specifies the type of object returned from the <see cref="M:System.DirectoryServices.AccountManagement.PrincipalSearcher.GetUnderlyingSearcher" /> method. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">A <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> must first be assigned to the principal searcher before the query can be performed.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter">
|
|||
|
<summary>Gets or sets the query filter that is used to locate matching principals. </summary>
|
|||
|
<returns>The <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> object that is used for the query or null if no filter is set. </returns>
|
|||
|
<exception cref="T:System.ArgumentException">Persisted Principal objects can not be used as the <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" />.The <see cref="P:System.DirectoryServices.AccountManagement.PrincipalSearcher.QueryFilter" /> cannot be null or empty.</exception>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult`1">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects that are returned by a search. </summary>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearchResult`1.Dispose">
|
|||
|
<summary>Disposes the current instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult" /> object.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearchResult`1.GetEnumerator">
|
|||
|
<summary>Returns an enumerator that iterates through a collection. </summary>
|
|||
|
<returns>The <see cref="T:SystemCollections.IEnumerator" /> object that is used to iterate through the principal objects. </returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalSearchResult`1.System#Collections#IEnumerable#GetEnumerator">
|
|||
|
<summary>Returns an enumerator that can be used to iterate over the objects in this collection.</summary>
|
|||
|
<returns>Returns an <see cref="T:System.Collections.IEnumerator" /> containing the principals in the search result collection.</returns>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException">
|
|||
|
<summary>This exception is thrown when the API is unable to connect to the server.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /></param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class with the specified error message.</summary>
|
|||
|
<param name="message">An error message.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.String,System.Exception)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class with the specified error message and specified nested exception.</summary>
|
|||
|
<param name="message">The text of the message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.String,System.Exception,System.Int32)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class with the specified error message, the specified nested exception, and the specified error code.</summary>
|
|||
|
<param name="message">The text of the error message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
<param name="errorCode">An error code.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.String,System.Exception,System.Int32,System.String)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class with the specified error message, the specified nested exception, the specified error code, and the specified server name.</summary>
|
|||
|
<param name="message">The text of the message.</param>
|
|||
|
<param name="innerException">A nested exception.</param>
|
|||
|
<param name="errorCode">An error code.</param>
|
|||
|
<param name="serverName">A server name.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.#ctor(System.String,System.Int32)">
|
|||
|
<summary>Instantiates a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalServerDownException" /> class with the specified error message and specified error code.</summary>
|
|||
|
<param name="message">The text of the message.</param>
|
|||
|
<param name="errorCode">An error code.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalServerDownException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|||
|
<summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the parameter name and additional exception information.</summary>
|
|||
|
<param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that will hold the serialized object data.</param>
|
|||
|
<param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that will hold contextual information about the source or destination.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1">
|
|||
|
<summary>Multi-valued properties, such as <see cref="P:System.DirectoryServices.AccountManagement.AuthenticablePrincipal.PermittedWorkstations" />, have a value of the type <see cref="T:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1" />. This class provides methods to enumerate and manipulate those values.</summary>
|
|||
|
<typeparam name="T"></typeparam>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Add(`0)">
|
|||
|
<summary>Adds the specified value to the end of the collection.</summary>
|
|||
|
<param name="value">An object to be added to the collection.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Clear">
|
|||
|
<summary>Clears the contents of the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Contains(`0)">
|
|||
|
<summary>Returns true if the specified object is in the collection, and false otherwise.</summary>
|
|||
|
<returns>Returns a bool.</returns>
|
|||
|
<param name="value">An object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.CopyTo(`0[],System.Int32)">
|
|||
|
<summary>Copys the contents of the collection to the specified array, starting at the specified position in the array.</summary>
|
|||
|
<param name="array">An <see cref="T:System.Array" /> of objects.</param>
|
|||
|
<param name="index">An integer representing the position in <paramref name="array" /> to which the first object in the collection should be copied.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Count">
|
|||
|
<summary>Gets the number of objects in the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.GetEnumerator">
|
|||
|
<summary>Returns an enumerator that can be used to iterate through the collection.</summary>
|
|||
|
<returns>An <see cref="T:SystemCollections.IEnumerator" /> object.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.IndexOf(`0)">
|
|||
|
<summary>Returns the index of the specified object, or -1 if the object is not in the collection.</summary>
|
|||
|
<returns>An integer.</returns>
|
|||
|
<param name="value">The object whose index is required.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Insert(System.Int32,`0)">
|
|||
|
<summary>Inserts the specified object into the collection at the specified index.</summary>
|
|||
|
<param name="index">The index at which <paramref name="value" /> will be inserted into the collection.</param>
|
|||
|
<param name="value">An object.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.IsFixedSize">
|
|||
|
<summary>Gets a bool that represents whether or not the collection is fixed in size.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.IsReadOnly">
|
|||
|
<summary>Gets a bool that represents whether or not the collection is read-only.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.IsSynchronized">
|
|||
|
<summary>Gets a value indicating whether access to the collection is synchronized (thread safe).</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Item(System.Int32)">
|
|||
|
<summary>Gets the object at the specified index in the collection.</summary>
|
|||
|
<param name="index"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.Remove(`0)">
|
|||
|
<summary>Removes the specified object from the collection.</summary>
|
|||
|
<returns>Returns a bool. Returns true if the object was removed, or false if the object was not in the collection.</returns>
|
|||
|
<param name="value">The object to be removed from the collection.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.RemoveAt(System.Int32)">
|
|||
|
<summary>Removes the object at the specified index from the collection.</summary>
|
|||
|
<param name="index"></param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.SyncRoot">
|
|||
|
<summary>Gets an object that can be used to synchronize access to the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
|
|||
|
<summary>Copies the contents of the collection to the specified array, starting at the specified index.</summary>
|
|||
|
<param name="array"></param>
|
|||
|
<param name="index"></param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#ICollection#Count">
|
|||
|
<summary>Gets the number of objects in the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#ICollection#IsSynchronized">
|
|||
|
<summary>Gets a value indicating whether access to the collection is synchronized (thread safe).</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#ICollection#SyncRoot">
|
|||
|
<summary>Gets an object that can be used to synchronize access to the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IEnumerable#GetEnumerator">
|
|||
|
<summary>Returns an enumerator for iterating through the collection.</summary>
|
|||
|
<returns>An <see cref="T:SystemCollections.IEnumerator" /> object.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Add(System.Object)">
|
|||
|
<summary>Adds the specified object to the end of the collection.</summary>
|
|||
|
<param name="value">An object to be added to the collection.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Clear">
|
|||
|
<summary>Deletes the contents of the collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Contains(System.Object)">
|
|||
|
<summary>Returns a bool indicating whether the specified object is in the collection.</summary>
|
|||
|
<returns>boolean</returns>
|
|||
|
<param name="value"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#IndexOf(System.Object)">
|
|||
|
<summary>Returns the index of the specified object in the collection, or -1 if it is not in the collection.</summary>
|
|||
|
<returns>An integer.</returns>
|
|||
|
<param name="value">An object.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Insert(System.Int32,System.Object)">
|
|||
|
<summary>Inserts the specified object at the specified position into the collection.</summary>
|
|||
|
<param name="index">The position into which <paramref name="value" /> should be inserted.</param>
|
|||
|
<param name="value">An object</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#IsFixedSize">
|
|||
|
<summary>Gets a value indicating whether the collection is fixed-size.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#IsReadOnly">
|
|||
|
<summary>Gets a value indicating whether access to the collection is read-only.</summary>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Item(System.Int32)">
|
|||
|
<summary>Gets the object at the specified index in the collection.</summary>
|
|||
|
<param name="index">An integer.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#Remove(System.Object)">
|
|||
|
<summary>Removes the specified object from the collection.</summary>
|
|||
|
<param name="value">The object to be removed from the collection.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.PrincipalValueCollection`1.System#Collections#IList#RemoveAt(System.Int32)">
|
|||
|
<summary>Removes the object at the specified index from the collection.</summary>
|
|||
|
<param name="index">The index of the object to be removed from the collection.</param>
|
|||
|
</member>
|
|||
|
<member name="T:System.DirectoryServices.AccountManagement.UserPrincipal">
|
|||
|
<summary>Encapsulates principals that are user accounts.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> class by using the specified context. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.#ctor(System.DirectoryServices.AccountManagement.PrincipalContext,System.String,System.String,System.Boolean)">
|
|||
|
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> class by using the specified context, SAM account name, password, and enabled value. </summary>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="samAccountName">The SAM account name for this user principal.</param>
|
|||
|
<param name="password">The password for this account. </param>
|
|||
|
<param name="enabled">A Boolean value that specifies whether the account is enabled.</param>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.AdvancedSearchFilter">
|
|||
|
<summary>Returns an <see cref="T:System.DirectoryServices.AccountManagement.AdvancedSearchFilter" /> object, for use with Query By Example to set read-only properties before passing the object to the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearcher" />.</summary>
|
|||
|
<returns>An <see cref="T:System.DirectoryServices.AccountManagement.AdvancedSearchFilter" /> object.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.Current">
|
|||
|
<summary>Gets a user principal object that represents the current user under which the thread is running.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> representing the current user. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.NoMatchingPrincipalException">The user principal object for the current user could not be found. The principal object may contain an access control list to prevent access by unauthorized users.</exception>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple user principal objects matching the current user were found.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.EmailAddress">
|
|||
|
<summary>Gets or sets the e-mail address for this account.</summary>
|
|||
|
<returns>The e-mail address of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.EmployeeId">
|
|||
|
<summary>Gets or sets the employee ID for this user principal. </summary>
|
|||
|
<returns>The employee ID of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByBadPasswordAttempt(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.PrincipleSearchResult'1" /> objects for users that have an incorrect password attempt recorded in the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> objects, or an empty collection if no results are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByExpirationTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.PrincipleSearchResult'1" /> objects for users that have an account expiration time in the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> objects, or an empty collection if no results are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.DirectoryServices.AccountManagement.IdentityType,System.String)">
|
|||
|
<summary>Returns a user principal object that matches the specified identity type, and value. This version of the <see cref="Overload:System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity" /> method determines the format of the identity value. </summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object that matches the specified identity value and type, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContex" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityType">A <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value that specifies the format of the <paramref name="identityValue" /> parameter.</param>
|
|||
|
<param name="identityValue">The identity of the user principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple user principal objects matching the current user object were found.</exception>
|
|||
|
<exception cref="T:System.ComponenetModel.InvalidEnumerationOperatorException">The identity value is not a valid <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration value.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext,System.String)">
|
|||
|
<summary>Returns a user principal object that matches the specified identity value.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> object that matches the specified identity value, or null if no matches are found.</returns>
|
|||
|
<param name="context">The <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> that specifies the server or domain against which operations are performed.</param>
|
|||
|
<param name="identityValue">The identity of the user principal. This parameter can be any format that is contained in the <see cref="T:System.DirectoryServices.AccountManagement.IdentityType" /> enumeration.</param>
|
|||
|
<exception cref="T:System.MultipleMatchesException">Multiple user principal objects matching the current user object were found.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByLockoutTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.PrincipleSearchResult'1" /> objects for users that have an account lockout time in the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> objects, or an empty collection if no results are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByLogonTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.PrincipleSearchResult'1" /> objects for users that have account logon recorded in the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> objects, or an empty collection if no results are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.FindByPasswordSetTime(System.DirectoryServices.AccountManagement.PrincipalContext,System.DateTime,System.DirectoryServices.AccountManagement.MatchType)">
|
|||
|
<summary>Returns a collection of <see cref="T:System.DirectoryServices.AccountManagement.PrincipleSearchResult'1" /> objects for users that have set their password within the specified date and time range.</summary>
|
|||
|
<returns>A <see cref="T:System.DirectoryServices.AccountManagement.PrincipalSearchResult'1" /> that contains one or more <see cref="T:System.DirectoryServices.AccountManagement.UserPrincipal" /> objects, or an empty collection if no results are found.</returns>
|
|||
|
<param name="context"></param>
|
|||
|
<param name="time"></param>
|
|||
|
<param name="type"></param>
|
|||
|
</member>
|
|||
|
<member name="M:System.DirectoryServices.AccountManagement.UserPrincipal.GetAuthorizationGroups">
|
|||
|
<summary>Returns a collection of principal objects that contains all the authorization groups of which this user is a member. This function only returns groups that are security groups; distribution groups are not returned. </summary>
|
|||
|
<returns>A collection of <see cref="T:System.DirectoryServices.AccountManagement.Principal" /> objects that contain the groups of which the user is a member, or null if the user does not belong to any groups. </returns>
|
|||
|
<exception cref="T:System.DirectoryServices.AccountManagement.PrincipalOperationException">The attempt to retrieve authorization groups failed. </exception>
|
|||
|
<exception cref="T:System>NotSupportedException">The retrieval of authorization groups is not supported by this operating system. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.GivenName">
|
|||
|
<summary>Gets or sets the given name for the user principal.</summary>
|
|||
|
<returns>The given name of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.MiddleName">
|
|||
|
<summary>Gets or sets the middle name for the user principal. </summary>
|
|||
|
<returns>The middle name of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.Surname">
|
|||
|
<summary>Gets or sets the surname for the user principal. </summary>
|
|||
|
<returns>The surname of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.DirectoryServices.AccountManagement.UserPrincipal.VoiceTelephoneNumber">
|
|||
|
<summary>Gets or sets the voice telephone number for the user principal. </summary>
|
|||
|
<returns> The voice telephone number of the user principal. </returns>
|
|||
|
<exception cref="T:System.InvalidOperationException">The underlying store does not support this property.</exception>
|
|||
|
</member>
|
|||
|
</members>
|
|||
|
</doc>
|