2 writes to Trustee
System.Messaging (2)
System\Messaging\AccessControlEntry.cs (2)
38
this.
Trustee
= trustee;
49
this.
Trustee
= trustee;
8 references to Trustee
System.Messaging (8)
System\Messaging\AccessControlList.cs (8)
135
if (ace.
Trustee
== null)
138
string name = ace.
Trustee
.Name;
142
if ((ace.
Trustee
.TrusteeType == TrusteeType.Computer) && !name.EndsWith("$"))
145
if (!UnsafeNativeMethods.LookupAccountName(ace.
Trustee
.SystemName, name, (IntPtr)0, ref sidSize, null, ref domainSize, out sidtype)) {
148
throw new InvalidOperationException(Res.GetString(Res.CouldntResolve, ace.
Trustee
.Name, errval));
154
if (!UnsafeNativeMethods.LookupAccountName(ace.
Trustee
.SystemName, name, entries[i].data, ref sidSize, domainName, ref domainSize, out sidtype))
155
throw new InvalidOperationException(Res.GetString(Res.CouldntResolveName, ace.
Trustee
.Name));
163
entries[i].TrusteeType = (int)ace.
Trustee
.TrusteeType;