Пример #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;
 }
Пример #3
0
 public DirectoryEntryProperty(string name, DirectoryEntryPropertyAccess access)
 {
     _name = name;
     _access = access;
 }
Пример #4
0
 protected void ValidatePropertyAccess(DirectoryEntryPropertyAccess requested)
 {
     if ((_access & requested) != requested)
     {
         throw new InvalidOperationException();
     }
 }
 public ListDirectoryEntryProperty(string name, string attribute, DirectoryEntryPropertyAccess access)
     : base(name, attribute, access)
 {
 }
Пример #6
0
 public DNSimpleDirectoryEntryProperty(string name, string attribute, DirectoryEntryPropertyAccess access)
     : base(name, attribute, access)
 {
 }
Пример #7
0
 public UserAccountControlProperty(string name, DirectoryEntryPropertyAccess access, UserAccountFlag mask)
     : base(name, access)
 {
     _mask = mask;
 }
Пример #8
0
 protected void AddSimpleProperty(string name, string attributeName, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new SimpleDirectoryEntryProperty(name, attributeName, access));
 }
Пример #9
0
 protected void AddSimpleProperty(string name, DirectoryEntryPropertyAccess access)
 {
     AddSimpleProperty(name, name, access);
 }
Пример #10
0
 protected void AddSimpleProperty(string name, string attributeName, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new SimpleDirectoryEntryProperty(name, attributeName, access));
 }
Пример #11
0
 protected void AddSimpleProperty(string name, DirectoryEntryPropertyAccess access)
 {
     AddSimpleProperty(name, name, access);
 }
Пример #12
0
 public DirectoryEntryProperty(string name, DirectoryEntryPropertyAccess access)
 {
     _name   = name;
     _access = access;
 }
Пример #13
0
 public SimpleDirectoryEntryProperty(string name, string attribName, DirectoryEntryPropertyAccess access)
     : base(name, access)
 {
     _attributeName = attribName;
 }
Пример #14
0
 private void AddUacProperty(string name, UserAccountFlag mask, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new UserAccountControlProperty(name, access, mask));
 }
Пример #15
0
 public UserAccountControlProperty(string name, DirectoryEntryPropertyAccess access, UserAccountFlag mask)
     : base(name, access)
 {
     _mask = mask;
 }
Пример #16
0
 private void AddUacProperty(string name, UserAccountFlag mask, DirectoryEntryPropertyAccess access)
 {
     AddProperty(new UserAccountControlProperty(name, access, mask));
 }