Hello, I found few related queries in the forum here around that but with no working sample code, etc.
Please advise.
Regards,
Pramod
Hello, I found few related queries in the forum here around that but with no working sample code, etc.
Please advise.
Regards,
Pramod
Check in the Active Roles SDK (installed with Active Roles and available in the Windows Start Screen) for the section titled "Using .NET Technology"
This article (which is part of a series of articles on managing AD with C#) is a useful start.
Note at the bottom in the section that begins static DirectoryEntry where they are specifying an LDAP path for…
My best guess would be that you would want to use the Active Roles ADSI provider which is described in the SDK (the SDK is placed in a folder among the files installed on an Admin Service host.
I don't believe that C# is one of the supported languages for writing "policy scripts" for use by Active Roles itself.
What sorts of tasks are you hoping to perform?
I checked the samples in ADSI Provider folder and they all are related to VBscript and powershell.
My use case is to be able to modify a user AD attribute from ARS using custom c# code from a custom web portal (self-service based).
Check in the Active Roles SDK (installed with Active Roles and available in the Windows Start Screen) for the section titled "Using .NET Technology"
This article (which is part of a series of articles on managing AD with C#) is a useful start.
Note at the bottom in the section that begins static DirectoryEntry where they are specifying an LDAP path for the object, change 'LDAP' to 'EDMS'. This should redirect the bind request through the Active Roles server.
For this to work, you will need to install the Active Roles ADSI provider on the host where you are running your scripts.
Thanks for this. Let me check.
Thanks for this. Let me check.
Thanks for this. Let me check.