public RestrictionRow(MapiEntryId scopeFolderEntryId) { this.scopeFolderEntryId = scopeFolderEntryId; this.displayName = null; this.cultureInfo = null; this.contentCount = 0L; this.contentUnread = 0L; this.viewAccessTime = null; this.restriction = null; }
public PublicFolderUserId(ADObjectId activeDirectoryId, string exchangeLegacyDN, MapiEntryId exchangeAddressBookEntryId, string exchangeAddressBookDisplayName) { if (null == exchangeAddressBookEntryId) { throw new ArgumentNullException("exchangeAddressBookEntryId"); } if (exchangeAddressBookDisplayName == null) { throw new ArgumentNullException("exchangeAddressBookDisplayName"); } if (activeDirectoryId != null && string.IsNullOrEmpty(activeDirectoryId.DistinguishedName) && Guid.Empty == activeDirectoryId.ObjectGuid) { throw new ArgumentException("activeDirectoryId is Invalid", "activeDirectoryId"); } this.activeDirectoryId = activeDirectoryId; this.exchangeLegacyDN = exchangeLegacyDN; this.exchangeAddressBookEntryId = exchangeAddressBookEntryId; this.exchangeAddressBookDisplayName = exchangeAddressBookDisplayName; }