- username
- The name of the user to get information for.
- userIsOnline
- The ActiveDirectoryMembershipProvider.GetUser(string, bool) method ignores this parameter.
A System.Web.Security.MembershipUser instance representing the user specified. If no user is found in the Active Directory data store for the specified username value, null is returned.
The ActiveDirectoryMembershipProvider.GetUser(string, bool) method is called by the System.Web.Security.Membership class to retrieve information on the specified user from the Active Directory data store.
The provider uses a subtree search starting at the search point specified in the connection string. See the System.Web.Security.ActiveDirectoryMembershipProvider class topic for more information about connection strings.
Leading and trailing spaces are trimmed from the username parameter value.