Beispiel #1
0
 protected void ValidatePropertyAccess(DirectoryEntryPropertyAccess requested)
 {
     if ((_access & requested) != requested)
     {
         throw new InvalidOperationException();
     }
 }
 public SimpleDirectoryEntryProperty(string name, string attribName, DirectoryEntryPropertyAccess access)
     : base(name, access)
 {
     _attributeName = attribName;
 }
 public DirectoryEntryProperty(string name, DirectoryEntryPropertyAccess access)
 {
     _name = name;
     _access = access;
 }
 protected void ValidatePropertyAccess(DirectoryEntryPropertyAccess requested)
 {
     if ((_access & requested) != requested)
     {
         throw new InvalidOperationException();
     }
 }
 public ListDirectoryEntryProperty(string name, string attribute, DirectoryEntryPropertyAccess access)
     : base(name, attribute, access)
 {
 }
 public DNSimpleDirectoryEntryProperty(string name, string attribute, DirectoryEntryPropertyAccess access)
     : base(name, attribute, access)
 {
 }
Beispiel #7
0
 public UserAccountControlProperty(string name, DirectoryEntryPropertyAccess access, UserAccountFlag mask)
     : base(name, access)
 {
     _mask = mask;
 }
Beispiel #8
0
 protected void AddSimpleProperty(string name, string attributeName, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new SimpleDirectoryEntryProperty(name, attributeName, access));
 }
Beispiel #9
0
 protected void AddSimpleProperty(string name, DirectoryEntryPropertyAccess access)
 {
     AddSimpleProperty(name, name, access);
 }
Beispiel #10
0
 protected void AddSimpleProperty(string name, string attributeName, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new SimpleDirectoryEntryProperty(name, attributeName, access));
 }
Beispiel #11
0
 protected void AddSimpleProperty(string name, DirectoryEntryPropertyAccess access)
 {
     AddSimpleProperty(name, name, access);
 }
Beispiel #12
0
 public DirectoryEntryProperty(string name, DirectoryEntryPropertyAccess access)
 {
     _name   = name;
     _access = access;
 }
 public SimpleDirectoryEntryProperty(string name, string attribName, DirectoryEntryPropertyAccess access)
     : base(name, access)
 {
     _attributeName = attribName;
 }
Beispiel #14
0
 private void AddUacProperty(string name, UserAccountFlag mask, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new UserAccountControlProperty(name, access, mask));
 }
Beispiel #15
0
 public UserAccountControlProperty(string name, DirectoryEntryPropertyAccess access, UserAccountFlag mask)
     : base(name, access)
 {
     _mask = mask;
 }
Beispiel #16
0
 private void AddUacProperty(string name, UserAccountFlag mask, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new UserAccountControlProperty(name, access, mask));
 }