コード例 #1
0
 public bool isMemberOfGroup(string activeDirectoryGroupName)
 {
     using (var theGroup = new ActiveDirectory.ADGroup(activeDirectoryGroupName))
     {
         return(_isMemberOfGroupInternal(theGroup));
     }
 }
コード例 #2
0
ファイル: ADManager.cs プロジェクト: Br3nda/sfdocsamples
 public ADGroup CreateADGroup(ActiveDirectory.ADGroup ADGroup)
 {
     return(LoadGroup(AddGroup(ADGroup.Name, ADGroup.DisplayName, ADGroup.DistinguishedName, ADGroup.Description)));
 }