internal static IEnumerable <AcePermissionRecipientRow> FindRecipientsWithSendAsPermissionEnt(IEnumerable <object> permissions, DataObjectStore store) { List <SecurityPrincipalIdParameter> permissionsHelper = PublicFoldersService.GetPermissionsHelper(permissions, new IsExpectedPermission(PublicFoldersService.IsSendAsPermission), store); return(RecipientObjectResolver.Instance.ResolveSecurityPrincipalId(permissionsHelper)); }
public static void FilterCloudSendAsPermission(DataRow inputRow, DataTable dataTable, DataObjectStore store) { dataTable.Rows[0]["SendAsPermissions"] = PublicFoldersService.FindRecipientsWithSendAsPermissionCloud(store.GetDataObject("RecipientPermission") as IEnumerable <object>); }
public static void FilterEntSendAsPermission(DataRow inputRow, DataTable dataTable, DataObjectStore store) { IEnumerable <object> permissions = store.GetDataObject("ADPermissions") as IEnumerable <object>; dataTable.Rows[0]["SendAsPermissions"] = PublicFoldersService.FindRecipientsWithSendAsPermissionEnt(permissions, store); }