Quantcast
Channel: Active Directory and LDAP
Browsing index pages (191 articles)

UserPrincipal.SetPassword(password) not checking password history...

Hi I am working with Windows On-Prem AD and using classes from System.DirectoryServices.AccountManagement library having difficulties while Reset the password. I applied 12 password history check in...

View Article


AD query to find user with attribute Hidefromaddresslist=true

Hi all,I am trying to find the all the users in ad whose address is hidden on address book because msexHidefromaddresslist attribute is set to true by mistake. I am keen acheive this via AD query. I...

View Article


see if a user is in a security group

I have the  following code , and i would like to filter if the user is in a security group. i found the following code :  GroupPrincipal.FindByIdentity(principleContextGroup, "security group name") how...

View Article

LdapConnection - Timeout problem

Hello, I'm using System.DirectoryServices.Protocols.LdapConnection to connect to an LDAP server; I know that the default Timeout property is 30 seconds but, when the server does not respond, the...

View Article

how to authorize database record access with ldap in asp.net mvc

helloi have an  application of Sales Orders management in asp.net mvc 4 project, and i want to apply LDAP authentication on that application, i haven't any idea  about how to apply authorization on...

View Article


GPO for multiple branches

Hi guys ,,,I have a PDC and RODC in multiple branches , in my case i have to create a policy for each branch , that policy should add a specific IP's in Internet Explorer Trusted sites such as : Branch...

View Article

Toggle Paging on HTML Table on runtime.

I have created an HTML Table that fills the details from Active Directory Group and introduced paging in it however, sometimes there could be 1000 records & sometimes there would be none I want to...

View Article

C# controller function to set the ID as value & Name as Text from the Data...

I am fetching the list of AD Groups in the DropDownList, however the I am trying to set the ObjectGUID property as value & Name property as text for the dropdownlist selections. I have created the...

View Article


PrincipleSearchResult Question

Hello,In my current Core MVC project I am working on, I am using PrincipleSearchResult to get groups that a user is in.  I am using Windows Authentication and and getting the user name that way.  What...

View Article


Exchange server 2003 and VS 2005 create mailbox error

Can anyone tell me what I am doing wrong.  I get the following error on the objMailbox.CreateMailbox line.  I am useing VS 2005 C# and exchange server 2003.  I have the Exchange tools installed locally...

View Article

How to Use Active Setup functionality in a MSI package

Hi Everyone,I am trying to use a Active setup functionality in a MSI package for the product installation. If anyone has the experience to create a Active setup please guide me. Regards,Sai

View Article

UserPrincipal.SetPassword(password) not checking password history...

Hi I am working with Windows On-Prem AD and using classes from System.DirectoryServices.AccountManagement library having difficulties while Reset the password. I applied 12 password history check in...

View Article

AD query to find user with attribute Hidefromaddresslist=true

Hi all,I am trying to find the all the users in ad whose address is hidden on address book because msexHidefromaddresslist attribute is set to true by mistake. I am keen acheive this via AD query. I...

View Article


see if a user is in a security group

I have the  following code , and i would like to filter if the user is in a security group. i found the following code :  GroupPrincipal.FindByIdentity(principleContextGroup, "security group name") how...

View Article

Connecting to ActiveDirectory from outside domain

When I run the following program on the DC or a member server, everything works as expected.using System; using System.DirectoryServices; namespace Tests.LDAP { class Program { static void...

View Article


LdapConnection - Timeout problem

Hello, I'm using System.DirectoryServices.Protocols.LdapConnection to connect to an LDAP server; I know that the default Timeout property is 30 seconds but, when the server does not respond, the...

View Article

Getting PasswordLastChanged attribute from LDAP

Hi.I have a VB Script code, which I want to convert to C#. I am using ScriptTask functionality in SSIS.I have the existing vb script code as below: rs.Open "Select AName, LDAP from table", conn With rs...

View Article


c# Directory Services Synchronization does not return changed group...

Using c# to connect to Active directory and import user and group relationships. When I first run a user import with filter on memberOf field , it works fine and get all the newly added users. When I...

View Article

Using active directory provider in Membership with secure connection

I’m try to change my Membership provider from SQL to Active-directoryRight now I’m getting the following error:“The specified domain or server could not be contacted”I tried many things such as open...

View Article

AD fetching limits to 1000 records - how to work with PageSize property

All,Our requirement goes like we have to display all the users under one LDAP. Everytime, we query with the AD and display, only 1000 records are displayed. But itseems we have more than 1000 records....

View Article
Browsing index pages (191 articles)


Latest Images