Exemple #1
0
 public bool TryGetComputer(string name, out IComputer computer)
 {
     return(DirectoryExtensions.TryGet(() => this.GetComputer(name), out computer));
 }
Exemple #2
0
 public bool TryGetComputer(SecurityIdentifier sid, out IComputer computer)
 {
     return(DirectoryExtensions.TryGet(() => this.GetComputer(sid), out computer));
 }
Exemple #3
0
 public bool TryGetUser(string name, out IUser user)
 {
     return(DirectoryExtensions.TryGet(() => this.GetUser(name), out user));
 }
Exemple #4
0
 public bool TryGetGroup(SecurityIdentifier sid, out IGroup group)
 {
     return(DirectoryExtensions.TryGet(() => this.GetGroup(sid), out group));
 }
Exemple #5
0
 public bool TryGetGroup(string name, out IGroup group)
 {
     return(DirectoryExtensions.TryGet(() => this.GetGroup(name), out group));
 }
Exemple #6
0
 public bool TryGetPrincipal(SecurityIdentifier sid, out ISecurityPrincipal principal)
 {
     return(DirectoryExtensions.TryGet(() => this.GetPrincipal(sid), out principal));
 }
Exemple #7
0
 public bool TryGetPrincipal(string name, out ISecurityPrincipal principal)
 {
     return(DirectoryExtensions.TryGet(() => this.GetPrincipal(name), out principal));
 }