descargasDescargas

fuckeeeeeeersss !!!!

 

Software

 Herramientas para el Travian   Travian_Combat.rar

Libros 

 Conceps, Techniques, and Models of Computer Programing

Buen Libro de C# para un Nivel Inicial              LibroCsharp.pdf 

Libro de Visual Basic.Net de Aidos        Visual Basic NET.pdf

 Algo para el antivirus, jeje
http://www.freedrive.com/files/2rrss5al3cg0/avs.msi

 Mi Curriculum

 CurriculumAguirreAndres.doc

 EjemploMessageBox.rar

IE7 standalone y mas (resharper)

 Downloads.rar
Downloads.txt

 

namespace ldap

{

    public partial class Form1 : Form

    {

        string login = "nuevousuario";

        string password = "nuevopassword";

        string grupo = "CN=nuevogrupo";

        DirectoryEntry _deRoot=new DirectoryEntry("LDAP://compañia.es");

 

        public Form1()

        {

            InitializeComponent();

        }

 

        public void SetPassword(DirectoryEntry de, string password)

        {

            object[] oPassword = new object[] { password };

            object obj = de.Invoke("SetPassword", oPassword);

            de.CommitChanges();

        }

        private void button1_Click(object sender, EventArgs e)

        {

            try

            {

                DirectoryEntries child = _deRoot.Children;

                DirectoryEntry deuser = child.Add(login, "user");

                deuser.Properties["sAMAccountName"].Add(login);

                deuser.CommitChanges();

                SetPassword(deuser, password);

            }

            catch(Exception ex)

            {

                label1.Text = ex.Message;

            }

           

        }

        public void Addgrupo(string login, string grupo)

        {

            try

            {

                DirectoryEntry dirEntry = new DirectoryEntry("LDAP://compañia.es" + grupo);

                dirEntry.Properties["member"].Add(login);

                dirEntry.CommitChanges();

                dirEntry.Close();

            }

            catch (System.DirectoryServices.DirectoryServicesCOMException E)

            {

                label1.Text = E.Message;

 

            }

        }

        private void button2_Click(object sender, EventArgs e)

        {

            Addgrupo(login, grupo);

        }

 

    }