Chr*_* Li 3 directoryservices active-directory
我需要使用C#代码检查AD中给出的组是否是AD中的安全组.我注意到组属性中有一个名为"groupType"的属性,但我不知道该属性的用途.我检查了几个组,发现它的值可以为null,8或-2147483646.它是否与安全组类型相关联?我还在组的distinguishedName中找到了"OU = Security Group"或"OU = Secuity Group with Mail Lists"blabla.它可以作为确定安全组类型的标准吗?提前致谢.
Mat*_*att 10
来自http://adsearch-winzero.blogspot.com/2006/04/object-group-attribute-grouptype.html
Run Code Online (Sandbox Code Playgroud)The groupType attribute returns the type of group. However the returned value is in RAW format. ... -2147483646 ~ Global Security Group -2147483644 ~ Local Security Group -2147483643 ~ BuiltIn Group -2147483640 ~ Universal Security Group 2 ~ Global Distribution Group 4 ~ Local Distribution Group 8 ~ Universal Distribution Group
归档时间: |
|
查看次数: |
8077 次 |
最近记录: |