Questions tagged as 'active-directory'

2
answers

Login with network user (AD)

I need to log in to the user on my system, with the user logged in to the company network. I've never done this and am having second thoughts on how to get user in AD. I am doing research on the net and still can not understand how to search for...
asked by 26.08.2014 / 13:36
1
answer

Create user in AD with C #

Does anyone have a code for user creation in ad in C # .NET? I am developing in C # beginner and tried through the codes I saw here and could not do it.     
asked by 02.07.2014 / 16:58
1
answer

Query user data logged in Windows Authentication

In my application I use authentication mode="Windows" as a form of authentication. In this way, I can know the user name, referring to the field in the AD and the domain of the user using HttpContext.Current.User.Identity.Name ,...
asked by 27.05.2015 / 15:47
2
answers

Capture user name logged into the machine via Web Application

There are two applications, one in Java and one in ASP, and both can integrate with Active Directory without typing user name and network password. The application made using ASP, logs in automatically when accessing the url, however it does not...
asked by 18.12.2015 / 20:14
1
answer

How to connect a script made in PHP LDAP with Windows AD using SSL connection?

I have the PHP code in LDAP to change password in Active Directory: <?php $usuario="xxx"; $senha_atual="0000"; $senha_nova="11111"; $pessoas="casa.cafe.br"; $servidor="1.1.1.1"; $porta=389; $portas=636; $base="CN=$usuario,CN=Users,DC=casa,...
asked by 05.05.2017 / 18:44
2
answers

LDAP and AD - Error adding user to group with C #

I'm trying to add a user to the group, but I get the following error:    Message: The server is reluctant to process the request.   ErrorCode: -2147016651   ExtendedError: 1359   ExtendedErrorMessage: 0000054F: SvcErr: DSID-031A120C, Proble...
asked by 23.05.2014 / 17:33
0
answers

Configuring IIS to authenticate using Active Directory

I created a web system using C # and used a routine to authenticate the user by picking up the Active Directory user. But my system is not catching user AD: it is catching the user from the pool of the application. When I run the system locall...
asked by 21.01.2016 / 21:49
1
answer

How to create connector for active diretory?

I need to create a connector for Active Directory, I found this example on the internet ... I heard about migrations ... Do you know how it works? DirectoryEntry directoryEntry = new DirectoryEntry("LDAP://example.com"); Can anyone expla...
asked by 28.08.2015 / 16:21
1
answer

Get Organization / Departament and Organization / Title with UserPrincipal - AD and C #

I'm using the System.DirectoryServices.AccountManagement reference and I have the following code: string dnsAD = "USINA.REDE"; string groupName = "Grupo Controle Acesso Gestao de Ativos"; //seta o grupo de acesso PrincipalContext principalCont...
asked by 02.07.2014 / 18:28
1
answer

Can I open the VS2017 with a different user than the one I placed in the installation?

Can I open the VS2017 with a user other than the one I put into the installation? Because I'm trying to get in with a new user that was given to me in the company. This new user is my user in AD and with it I access the TFS as with the current u...
asked by 21.12.2017 / 16:45