Common properties for creating virtual directories

xiaoxiao2021-03-06  119

Private void UpdatedirInfo (DirectoryEntry de, VirtualDirectory VD)

{

de.properties ["AnonymoususerName"] [0] = vd.anonymoususeusername;

De.properties ["anonymoususeuserpass"] [0] = vd.anonymoususerpass;

De.properties ["AccessRead"] [0] = vd.accessRead;

De.properties ["AccessExecute"] [0] = vd.accessexecute;

De.properties ["AccessWrite"] [0] = vd.accesswrite;

De.properties ["authbasic"] [0] = vd.authbasic;

De.properties ["AuthnTLM"] [0] = vd.authnTLM;

de.properties ["ContentIndexed"] [0] = vd.contentIndexed;

De.properties ["enabledefaultdoc"] [0] = vd.enabledefaultdoc;

De.properties ["enabledirbrowsing"] [0] = vd.enabledirbrows;

De.properties ["accessssl"] [0] = vd.accesssssl;

De.properties ["AccessScript"] [0] = vd.accessscript;

De.properties ["defaultdoc"] [0] = vd.defaultdoc;

De.properties ["path"] [0] = vd.path;

de.properties ["Appisolated"] [0] = vd.protection;

De.properties ["dontlog"] [0] = vd.log;

De.properties ["AccessSource"] [0] = vd.accesssource;

de.commitchanges ();

}

转载请注明原文地址:https://www.9cbs.com/read-102751.html

New Post(0)