SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft




Modifier le type de groupe

Accueil > Script > active_directory > Modifier le type de groupe

Modifier le type de groupe

Par Julien BAUSSERON, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 09/09/2006 vers 23h.

Const ADS_GROUP_TYPE_GLOBAL_GROUP = &h2
Const ADS_GROUP_TYPE_LOCAL_GROUP = &h4
Const ADS_GROUP_TYPE_UNIVERSAL_GROUP = &h8
Const ADS_GROUP_TYPE_SECURITY_ENABLED = &h80000000

Set objGroup = GetObject _
    (LDAP://cn=Scientists,ou=R&D,dc=NA,dc=labo-ms,dc=lan)

objGroup.Put "groupType", _
    ADS_GROUP_TYPE_UNIVERSAL_GROUP + ADS_GROUP_TYPE_SECURITY_ENABLED
objGroup.SetInfo


Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
3

Visites :
7869

1
2
3
4
5

Scripts Windows Précédent :

Déléguer la gestion d'un groupe

Scripts Windows Suivant :

Installer Virtual Machine Additions



Retrouvez ci-dessous les autres sections du Laboratoire Microsoft