Пример #1
0
 /// <summary>Initializes a new instance of the <see cref="TRUSTEE"/> struct.</summary>
 /// <param name="pSid">The sid.</param>
 /// <param name="type">The sid type.</param>
 public TRUSTEE(PSID pSid, TRUSTEE_TYPE type = TRUSTEE_TYPE.TRUSTEE_IS_USER) : this()
 {
     ptstrName = (IntPtr)pSid; TrusteeForm = TRUSTEE_FORM.TRUSTEE_IS_SID; TrusteeType = type;
 }
Пример #2
0
 public TRUSTEE(ref ptr <TRUSTEE> MultipleTrustee = default, MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation = default, TRUSTEE_FORM TrusteeForm = default, TRUSTEE_TYPE TrusteeType = default, TrusteeValue TrusteeValue = default)
 {
     this.MultipleTrustee          = MultipleTrustee;
     this.MultipleTrusteeOperation = MultipleTrusteeOperation;
     this.TrusteeForm  = TrusteeForm;
     this.TrusteeType  = TrusteeType;
     this.TrusteeValue = TrusteeValue;
 }