예제 #1
0
 private MailboxFolderUserId(PermissionSecurityPrincipal.SpecialPrincipalType specialPrincipalType)
 {
     switch (specialPrincipalType)
     {
     case PermissionSecurityPrincipal.SpecialPrincipalType.Default:
         this.userType = MailboxFolderUserId.MailboxFolderUserType.Default;
         return;
     }
     this.userType = MailboxFolderUserId.MailboxFolderUserType.Anonymous;
 }
예제 #2
0
 public PermissionSecurityPrincipal(PermissionSecurityPrincipal.SpecialPrincipalType specialPrincipalType)
 {
     EnumValidator.ThrowIfInvalid <PermissionSecurityPrincipal.SpecialPrincipalType>(specialPrincipalType, "specialPrincipalType");
     this.type = PermissionSecurityPrincipal.SecurityPrincipalType.SpecialPrincipal;
     this.specialPrincipalType = specialPrincipalType;
 }